shithub: libvpx

Download patch

ref: 6b8665ebc41874206b115a0edf0506a855680a81
parent: 0cdc046ff23a4faa5a8cac2d890680f46a9d758a
author: Attila Nagy <attilanagy@google.com>
date: Fri Jul 27 05:40:05 EDT 2012

Avoid warnings about redefining _FORTIFY_SOURCE

Undefine the macro befor redefining it.

Change-Id: I31187307273c138f8d5380c74f9e0619af15cdd9

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1128,7 +1128,7 @@
 
     # 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