freetdm: add package
[feed/telephony.git] / libs / freetdm / patches / 280-tone-down-freetdm-COMP_VENDOR_CFLAGS.patch
diff --git a/libs/freetdm/patches/280-tone-down-freetdm-COMP_VENDOR_CFLAGS.patch b/libs/freetdm/patches/280-tone-down-freetdm-COMP_VENDOR_CFLAGS.patch
new file mode 100644 (file)
index 0000000..e7d7bc0
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -88,7 +88,7 @@ AC_ARG_ENABLE([enable_64],
+ case "${ax_cv_c_compiler_vendor}" in
+ gnu)
+-      COMP_VENDOR_CFLAGS="-ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -O0"
++      COMP_VENDOR_CFLAGS="-ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
+       ;;
+ sun)
+       COMP_VENDOR_CFLAGS="-xc99=all -mt -xCC -xvpara"