forked from Mirrors/freeswitch
remove generated file and fix suncc cflags
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12108 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7291cfc4db
commit
00666fde86
27319
libs/ilbc/configure
vendored
27319
libs/ilbc/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -210,6 +210,8 @@ if test -n "$enable_tests" ; then
|
||||
AC_CHECK_LIB([fftw], [fftw_create_plan], TESTLIBS="$TESTLIBS -lfftw")
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE([enable_64], [AS_HELP_STRING([--enable-64], [Enable 64bit compilation])], [enable_64="$enableval"], [enable_64="no"])
|
||||
|
||||
case "${ax_cv_c_compiler_vendor}" in
|
||||
gnu)
|
||||
COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
|
||||
@ -220,6 +222,12 @@ gnu)
|
||||
COMP_VENDOR_CFLAGS="-mmmx $COMP_VENDOR_CFLAGS"
|
||||
fi
|
||||
;;
|
||||
sun)
|
||||
COMP_VENDOR_CFLAGS="-xc99=all -mt -xCC -D__FUNCTION__=__func__ -xvpara"
|
||||
if test "$enable_64" = "yes" ; then
|
||||
COMP_VENDOR_CFLAGS="-m64 $COMP_VENDOR_CFLAGS"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user