clang uses -fPIC too, don't fail on mod_lua build by not adding PIC flags for the lua library build
This commit is contained in:
parent
4b935e1037
commit
d755b34091
|
@ -297,6 +297,9 @@ if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then
|
|||
APR_ADDTO(SWITCH_AM_LDFLAGS, -m64)
|
||||
LIBS="$LIBS -m64"
|
||||
fi
|
||||
elif test "x${ax_cv_c_compiler_vendor}" = "xclang" ; then
|
||||
APR_ADDTO(SWITCH_AM_CFLAGS, -fPIC)
|
||||
APR_ADDTO(SWITCH_AM_CXXFLAGS, -fPIC)
|
||||
elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
|
||||
APR_ADDTO(SWITCH_AM_CFLAGS, -fPIC)
|
||||
APR_ADDTO(SWITCH_AM_CXXFLAGS, -fPIC)
|
||||
|
|
Loading…
Reference in New Issue