mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 04:27:06 +00:00
add --enable-64 configure flag to build 64 bit with suncc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6294 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
39cebb4fc9
commit
e06419ceda
7 files changed
+98
-1
No files matched your search
@@ -91,6 +91,15 @@ case "$host" in
|
||||
IN_LINE=inline
|
||||
;;
|
||||
esac
|
||||
# Enable 64 bit build
|
||||
AC_ARG_ENABLE(64,
|
||||
[AC_HELP_STRING([--enable-64],[build with 64 bit support])],[enable_64="$enable_64"],[enable_64="no"])
|
||||
|
||||
if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then
|
||||
if test "${enable_64}" = "yes"; then
|
||||
new_AM_CFLAGS="$new_AM_CFLAGS -m64"
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(new_AM_CFLAGS)
|
||||
AC_SUBST(new_AM_LDFLAGS)
|
||||
AC_SUBST(SOLINK)
|
||||
|
||||
Reference in new issue
Block a user