X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fax_harden_compiler_flags.m4;h=9302b12d57e1552e4c7936f4f83900d4b44cf60a;hb=c3472bb8e7417a272f8c76c5a1316e3370adc941;hp=3ab549388e813cc364e2bf2c672efd9b4656a9d4;hpb=879ce2d055d3c4ebdbfa50e26877ee5948b04365;p=awesomized%2Flibmemcached diff --git a/m4/ax_harden_compiler_flags.m4 b/m4/ax_harden_compiler_flags.m4 index 3ab54938..9302b12d 100644 --- a/m4/ax_harden_compiler_flags.m4 +++ b/m4/ax_harden_compiler_flags.m4 @@ -201,7 +201,7 @@ AC_DEFUN([_HARDEN_CC_COMPILER_FLAGS], _APPEND_COMPILE_FLAGS_ERROR([-Wsizeof-pointer-memaccess]) _APPEND_COMPILE_FLAGS_ERROR([-Wpacked]) _APPEND_COMPILE_FLAGS_ERROR([-Wlong-long]) - _APPEND_COMPILE_FLAGS_ERROR([ftrapv]) + _APPEND_COMPILE_FLAGS_ERROR([-ftrapv]) # Stop error when using -pie on library builds _APPEND_COMPILE_FLAGS_ERROR([-Wno-unused-command-line-argument]) # GCC 4.5 removed this.