diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk index 1361be2960..01f8242bd1 100644 --- a/core/combo/TARGET_linux-x86.mk +++ b/core/combo/TARGET_linux-x86.mk @@ -106,7 +106,6 @@ android_config_h := $(call select-android-config-h,target_linux-x86) $(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += \ -O2 \ - -Ulinux \ -Wa,--noexecstack \ -Werror=format-security \ -D_FORTIFY_SOURCE=2 \ diff --git a/core/combo/TARGET_linux-x86_64.mk b/core/combo/TARGET_linux-x86_64.mk index 2e06263d25..a5a745b4cc 100644 --- a/core/combo/TARGET_linux-x86_64.mk +++ b/core/combo/TARGET_linux-x86_64.mk @@ -106,7 +106,6 @@ KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH) TARGET_GLOBAL_CFLAGS += \ -O2 \ - -Ulinux \ -Wa,--noexecstack \ -Werror=format-security \ -D_FORTIFY_SOURCE=2 \