util: ignore -fpic as well

This commit is contained in:
Connor Olding 2022-10-04 02:58:25 -07:00
parent 029796299c
commit 8d7c96b99b

View File

@ -39,9 +39,9 @@ for x in "$@"; do
''
exit 0
elif is_in "$x" \
-fomit-frame-pointer -fPIC -lc -lc_r -lcma -ldl -lgcc \
-lm -lpthread -lpthreads -lresolv -lrt -lunwind -lutil \
-Wl,-Bdynamic -Wl,-Bstatic
-fomit-frame-pointer -fPIC -fpic -lc -lc_r -lcma -ldl \
-lgcc -lm -lpthread -lpthreads -lresolv -lrt -lunwind \
-lutil -Wl,-Bdynamic -Wl,-Bstatic
then continue
elif [ "$x" = -c ]; then
flag_c=1