X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=core%2Fcombo%2FTARGET_linux-x86.mk;fp=core%2Fcombo%2FTARGET_linux-x86.mk;h=b7a16d6b1add99e37fac774ce6c77a02bef9df28;hb=b9041a45b1f030d3e374420aa95e44f4c3029fb4;hp=873e0eb95de89fe1ba12b7a2f046d702feabe4a5;hpb=a59b8545cf1aa013cf87b9946e738e0add1f4536;p=android-x86%2Fbuild.git diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk index 873e0eb95..b7a16d6b1 100755 --- a/core/combo/TARGET_linux-x86.mk +++ b/core/combo/TARGET_linux-x86.mk @@ -116,6 +116,8 @@ else endif KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH) $(KERNEL_HEADERS_AUX) +android_config_h := $(call select-android-config-h,target_linux-x86) + TARGET_GLOBAL_CFLAGS += \ -O2 \ -Ulinux \ @@ -133,11 +135,9 @@ TARGET_GLOBAL_CFLAGS += \ -funswitch-loops \ -funwind-tables \ -fstack-protector \ - -m32 - -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) + -m32 \ + -include $(android_config_h) \ + -I $(dir $(android_config_h)) TARGET_GLOBAL_CFLAGS += $(arch_variant_cflags)