Skip to content

Commit

Permalink
Add fPIC to CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar committed Jul 18, 2019
1 parent 9119fc6 commit 63d4cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ fi

if test x$TARGET_OS != xwindows; then
# All windows code is PIC, forcing it on just adds useless compile warnings
AX_CHECK_COMPILE_FLAG([-fPIC],[PIC_FLAGS="-fPIC"])
AX_CHECK_COMPILE_FLAG([-fPIC],[PIC_FLAGS="-fPIC" && CFLAGS="$CFLAGS -fPIC"])
fi

# All versions of gcc that we commonly use for building are subject to bug
Expand Down

0 comments on commit 63d4cfd

Please sign in to comment.