Commit 6b8665eb authored by Attila Nagy's avatar Attila Nagy
Browse files

Avoid warnings about redefining _FORTIFY_SOURCE

Undefine the macro befor redefining it.

Change-Id: I31187307273c138f8d5380c74f9e0619af15cdd9
parent 0cdc046f
......@@ -1128,7 +1128,7 @@ process_common_toolchain() {
# Work around longjmp interception on glibc >= 2.11, to improve binary
# compatibility. See
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment