Merge "HOST_linux-x86: Avoid doubly define macro _FORTIFY_SOURCE"

This commit is contained in:
Conley Owens 2011-10-27 10:36:13 -07:00 committed by Android (Google) Code Review
commit 5071047d7e

View file

@ -53,6 +53,6 @@ HOST_GLOBAL_CFLAGS += \
-include $(call select-android-config-h,linux-x86)
# Disable new longjmp in glibc 2.11 and later. See bug 2967937.
HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0
HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
HOST_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined