From 6b8665ebc41874206b115a0edf0506a855680a81 Mon Sep 17 00:00:00 2001 From: Attila Nagy Date: Fri, 27 Jul 2012 09:40:05 +0300 Subject: [PATCH] Avoid warnings about redefining _FORTIFY_SOURCE Undefine the macro befor redefining it. Change-Id: I31187307273c138f8d5380c74f9e0619af15cdd9 --- build/make/configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/make/configure.sh b/build/make/configure.sh index 0f6c6ca46..e5166f844 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -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 -- 2.40.0