add --enable-64 support for os x 10.4 and 10.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15874 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
68da102e0d
commit
7803a752c9
|
@ -184,13 +184,15 @@ elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
|
|||
APR_ADDTO(SWITCH_AM_CXXFLAGS, -fPIC)
|
||||
APR_ADDTO(SWITCH_AM_CFLAGS, -Werror)
|
||||
if test "${enable_64}" = "yes"; then
|
||||
LIBS="$LIBS -m64"
|
||||
case "$host" in
|
||||
*darwin10.*)
|
||||
*darwin10.*|*darwin9.*|*darwin8.*)
|
||||
APR_ADDTO(CFLAGS, -arch x86_64)
|
||||
APR_ADDTO(LDFLAGS, -arch x86_64)
|
||||
APR_ADDTO(CXXFLAGS, -arch x86_64)
|
||||
;;
|
||||
*)
|
||||
LIBS="$LIBS -m64"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue