]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8883: fix compile due to unused result failure on gnu compiler with --disable...
authorMichael Jerris <mike@jerris.com>
Mon, 4 Apr 2016 18:31:41 +0000 (14:31 -0400)
committerMichael Jerris <mike@jerris.com>
Mon, 4 Apr 2016 18:31:48 +0000 (14:31 -0400)
configure.ac

index 4765fb8d67a04ac1d4a0e108a2ca37ec10704786..57216dbbe427d262648f2f392cdadffae23aa906 100644 (file)
@@ -411,6 +411,7 @@ elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
     AC_SUBST([AM_MOD_AVMD_CXXFLAGS], [-std=gnu99])      # FS-8809, needed for MAP_POPULATE
     if test "$ac_cv_gcc_supports_w_no_unused_result" = yes; then
       APR_ADDTO(SWITCH_AM_CFLAGS, -Werror)
+      APR_ADDTO(SWITCH_AM_CFLAGS, -Wno-unused-result)
     fi
     if test "${enable_64}" = "yes"; then
        case "$host" in