]> granicus.if.org Git - libvpx/commitdiff
Avoid warnings about redefining _FORTIFY_SOURCE
authorAttila Nagy <attilanagy@google.com>
Fri, 27 Jul 2012 06:40:05 +0000 (09:40 +0300)
committerAttila Nagy <attilanagy@google.com>
Fri, 27 Jul 2012 07:02:09 +0000 (10:02 +0300)
Undefine the macro befor redefining it.

Change-Id: I31187307273c138f8d5380c74f9e0619af15cdd9

build/make/configure.sh

index 0f6c6ca46ca25bf048cf0519b64f86706be1d06d..e5166f8448b3e1dc3737bc4fb475f655a941f81c 100755 (executable)
@@ -1128,7 +1128,7 @@ process_common_toolchain() {
 
     # Work around longjmp interception on glibc >= 2.11, to improve binary
     # compatibility. See http://code.google.com/p/webm/issues/detail?id=166
-    enabled linux && check_add_cflags -D_FORTIFY_SOURCE=0
+    enabled linux && check_add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
 
     # Check for strip utility variant
     ${STRIP} -V 2>/dev/null | grep GNU >/dev/null && enable gnu_strip