Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 163fa35f authored by Ying Wang's avatar Ying Wang
Browse files

Disable new longjmp in glibc 2.11 and later.

Bug: 2967937
Change-Id: I7a5ef082502192f41c26a48632edfe775dea7648
parent 9a8732fb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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