We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d43e43a commit d06e2f7Copy full SHA for d06e2f7
1 file changed
test/weak-export.sh
@@ -6,7 +6,7 @@ echo -n "Testing $(basename -s .sh $0) ... "
6
t=$(pwd)/tmp/$(basename -s .sh $0)
7
mkdir -p $t
8
9
-cat <<EOF | cc -c -o $t/a.o -xc -
+cat <<EOF | cc -fPIC -c -o $t/a.o -xc -
10
#include <stdio.h>
11
12
__attribute__((weak)) int foo();
0 commit comments