< prev index next >

common/autoconf/flags.m4

Print this page
rev 1225 : 8065648: Remove the flag -fsanitize=undefined for GCC 4.9 and later

@@ -346,14 +346,10 @@
       ;;
     slowdebug )
       # Add runtime stack smashing and undefined behavior checks
       CFLAGS_DEBUG_OPTIONS="-fstack-protector-all --param ssp-buffer-size=1"
       CXXFLAGS_DEBUG_OPTIONS="-fstack-protector-all --param ssp-buffer-size=1"
-      if test "x$HAS_CFLAG_DETECT_UNDEFINED_BEHAVIOR" = "xtrue"; then
-        CFLAGS_DEBUG_OPTIONS="$CFLAGS_DEBUG_OPTIONS  $CFLAG_DETECT_UNDEFINED_BEHAVIOR_FLAG"
-        CXXFLAGS_DEBUG_OPTIONS="$CXXFLAGS_DEBUG_OPTIONS $CFLAG_DETECT_UNDEFINED_BEHAVIsOR_FLAG"
-      fi
       ;;
     esac
   fi
   AC_SUBST(CFLAGS_DEBUG_OPTIONS)
   AC_SUBST(CXXFLAGS_DEBUG_OPTIONS)
< prev index next >