* commit '3208b615c5cde2b682c3bbbcd2bb064b14b57489': No need to filter out AndroidConfig.h for unbundled build
This commit is contained in:
@@ -115,6 +115,8 @@ else
|
||||
endif
|
||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||
|
||||
android_config_h := $(call select-android-config-h,target_linux-x86)
|
||||
|
||||
TARGET_GLOBAL_CFLAGS += \
|
||||
-O2 \
|
||||
-Ulinux \
|
||||
@@ -131,11 +133,9 @@ TARGET_GLOBAL_CFLAGS += \
|
||||
-fstrict-aliasing \
|
||||
-funswitch-loops \
|
||||
-funwind-tables \
|
||||
-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)
|
||||
-fstack-protector \
|
||||
-include $(android_config_h) \
|
||||
-I $(dir $(android_config_h))
|
||||
|
||||
# XXX: Not sure this is still needed. Must check with our toolchains.
|
||||
TARGET_GLOBAL_CPPFLAGS += \
|
||||
|
||||
Reference in New Issue
Block a user