Change-Id: I9b587bc6086e1edacc98879e43668001bf72f7db
-fno-short-enums \
-fstrict-aliasing \
-funswitch-loops \
- -funwind-tables
+ -funwind-tables \
- -fstack-protector \
- -include $(call select-android-config-h,target_linux-x86)
++ -fstack-protector
+
+android_config_h := $(call select-android-config-h,target_linux-x86)
+TARGET_ANDROID_CONFIG_CFLAGS := -include $(android_config_h) -I $(dir $(android_config_h))
+TARGET_GLOBAL_CFLAGS += $(TARGET_ANDROID_CONFIG_CFLAGS)
# XXX: Not sure this is still needed. Must check with our toolchains.
TARGET_GLOBAL_CPPFLAGS += \