Merge "Avoid warnings about redefining _FORTIFY_SOURCE"

This commit is contained in:
Attila Nagy 2012-07-30 23:45:54 -07:00 committed by Gerrit Code Review
commit d4d7589428

View File

@ -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