projects/aports·blob master · refs

18 lines · 897 B

1diff --git a/configure.ac b/configure.ac
2index 3eb0a47..2670bbd 100644
3--- a/configure.ac
4+++ b/configure.ac
5@@ -414,13 +414,11 @@ if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then
6 elif test "x${ax_cv_c_compiler_vendor}" = "xclang" ; then
7 APR_ADDTO(SWITCH_AM_CFLAGS, -fPIC -ffast-math)
8 APR_ADDTO(SWITCH_AM_CXXFLAGS, -fPIC -ffast-math)
9- APR_ADDTO(SWITCH_AM_CFLAGS, -Werror)
10 elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
11 APR_ADDTO(SWITCH_AM_CFLAGS, -fPIC -ffast-math)
12 APR_ADDTO(SWITCH_AM_CXXFLAGS, -fPIC -ffast-math)
13 AC_SUBST([AM_MOD_AVMD_CXXFLAGS], [-std=gnu99]) # FS-8809, needed for MAP_POPULATE
14 if test "$ac_cv_gcc_supports_w_no_unused_result" = yes; then
15- APR_ADDTO(SWITCH_AM_CFLAGS, -Werror)
16 APR_ADDTO(SWITCH_AM_CFLAGS, -Wno-unused-result)
17 fi
18 if test "$ac_cv_gcc_supports_w_no_misleading_indentation" = yes; then