m4: fix typo
authorMichael Wallner <mike@php.net>
Wed, 8 Jan 2020 17:29:39 +0000 (18:29 +0100)
committerMichael Wallner <mike@php.net>
Wed, 8 Jan 2020 17:29:39 +0000 (18:29 +0100)
m4/ax_harden_compiler_flags.m4

index 3ab549388e813cc364e2bf2c672efd9b4656a9d4..9302b12d57e1552e4c7936f4f83900d4b44cf60a 100644 (file)
@@ -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.