am fddf23f1: HOST_linux-x86: Avoid doubly define macro _FORTIFY_SOURCE

* commit 'fddf23f19e7604e6c5b3c5377e7ff6293539a1da':
  HOST_linux-x86: Avoid doubly define macro _FORTIFY_SOURCE
This commit is contained in:
Jim Huang 2011-10-27 21:09:17 +00:00 committed by Android Git Automerger
commit 386388581b
1 changed files with 1 additions and 1 deletions

View File

@ -53,6 +53,6 @@ HOST_GLOBAL_CFLAGS += \
-include $(call select-android-config-h,linux-x86) -include $(call select-android-config-h,linux-x86)
# Disable new longjmp in glibc 2.11 and later. See bug 2967937. # 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 HOST_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined