diff options
Diffstat (limited to 'comms/spandsp/files/patch-configure.ac')
-rw-r--r-- | comms/spandsp/files/patch-configure.ac | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/comms/spandsp/files/patch-configure.ac b/comms/spandsp/files/patch-configure.ac index 25ff487..6863077 100644 --- a/comms/spandsp/files/patch-configure.ac +++ b/comms/spandsp/files/patch-configure.ac @@ -1,6 +1,6 @@ ---- configure.ac.orig 2012-09-01 12:05:10.795461874 +0100 -+++ configure.ac 2012-09-01 12:05:47.473457036 +0100 -@@ -194,7 +194,6 @@ +--- configure.ac.orig 2014-11-11 15:56:10.000000000 +0100 ++++ configure.ac 2014-11-11 15:58:13.000000000 +0100 +@@ -198,7 +198,6 @@ AC_CHECK_HEADERS([stdlib.h]) AC_CHECK_HEADERS([string.h]) AC_CHECK_HEADERS([strings.h]) AC_CHECK_HEADERS([malloc.h]) @@ -8,3 +8,30 @@ AC_CHECK_HEADERS([math.h], [INSERT_MATH_HEADER="#include <math.h>"]) AC_CHECK_HEADERS([float.h]) AC_CHECK_HEADERS([fcntl.h]) +@@ -331,7 +330,7 @@ AX_CHECK_EXPORT_CAPABILITY([$host], + + case "${ax_cv_c_compiler_vendor}" in + gnu) +- COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" + if test "$enable_avx" = "yes" ; then + COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS" + fi +@@ -392,7 +391,7 @@ sun) + REMOVE_FROM_VAR(CFLAGS, -Xc) + ;; + intel) +- COMP_VENDOR_CFLAGS="-std=c99 -D_POSIX_C_SOURCE=2 -D_GNU_SOURCE=1 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-std=c99 -D_POSIX_C_SOURCE=2 -D_GNU_SOURCE=1 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" + if test "$enable_avx" = "yes" ; then + COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS" + fi +@@ -426,7 +425,7 @@ intel) + COMP_VENDOR_LDFLAGS= + ;; + *) +- COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS" + COMP_VENDOR_LDFLAGS= + ;; + esac |