From: Attila Nagy Date: Fri, 27 Jul 2012 06:40:05 +0000 (+0300) Subject: Avoid warnings about redefining _FORTIFY_SOURCE X-Git-Tag: v1.2.0~125^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b8665ebc41874206b115a0edf0506a855680a81;p=libvpx Avoid warnings about redefining _FORTIFY_SOURCE Undefine the macro befor redefining it. Change-Id: I31187307273c138f8d5380c74f9e0619af15cdd9 --- 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