util: ignore -fpic
as well
This commit is contained in:
parent
029796299c
commit
8d7c96b99b
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@ for x in "$@"; do
|
||||||
''
|
''
|
||||||
exit 0
|
exit 0
|
||||||
elif is_in "$x" \
|
elif is_in "$x" \
|
||||||
-fomit-frame-pointer -fPIC -lc -lc_r -lcma -ldl -lgcc \
|
-fomit-frame-pointer -fPIC -fpic -lc -lc_r -lcma -ldl \
|
||||||
-lm -lpthread -lpthreads -lresolv -lrt -lunwind -lutil \
|
-lgcc -lm -lpthread -lpthreads -lresolv -lrt -lunwind \
|
||||||
-Wl,-Bdynamic -Wl,-Bstatic
|
-lutil -Wl,-Bdynamic -Wl,-Bstatic
|
||||||
then continue
|
then continue
|
||||||
elif [ "$x" = -c ]; then
|
elif [ "$x" = -c ]; then
|
||||||
flag_c=1
|
flag_c=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue