Disable new longjmp in glibc 2.11 and later.

Bug: 2967937
Change-Id: I7a5ef082502192f41c26a48632edfe775dea7648
This commit is contained in:
Ying Wang 2010-09-01 16:56:25 -07:00
parent 9a8732fb6c
commit 163fa35fe3
1 changed files with 3 additions and 0 deletions

View File

@ -37,4 +37,7 @@ HOST_GLOBAL_CFLAGS += -fPIC
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_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined