forked from openkylin/platform_build
am 165fdf42: Merge "Remove "-mstackrealign" option from all x86 builds."
* commit '165fdf42042d7c13d9f7866b3a3eff841e08dad2': Remove "-mstackrealign" option from all x86 builds.
This commit is contained in:
commit
33f33371cd
|
@ -28,7 +28,7 @@ $(combo_2nd_arch_prefix)HOST_AR := $($(combo_2nd_arch_prefix)HOST_TOOLCHAIN_PRE
|
||||||
$(combo_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG := prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/
|
$(combo_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG := prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/
|
||||||
|
|
||||||
# We expect SSE3 floating point math.
|
# We expect SSE3 floating point math.
|
||||||
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -mstackrealign -msse3 -mfpmath=sse -m32 -Wa,--noexecstack -march=prescott
|
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -msse3 -mfpmath=sse -m32 -Wa,--noexecstack -march=prescott
|
||||||
$(combo_2nd_arch_prefix)HOST_GLOBAL_LDFLAGS += -m32 -Wl,-z,noexecstack
|
$(combo_2nd_arch_prefix)HOST_GLOBAL_LDFLAGS += -m32 -Wl,-z,noexecstack
|
||||||
|
|
||||||
ifneq ($(strip $(BUILD_HOST_static)),)
|
ifneq ($(strip $(BUILD_HOST_static)),)
|
||||||
|
|
|
@ -13,6 +13,5 @@ ARCH_X86_HAVE_MOVBE := true
|
||||||
# CFLAGS for this arch
|
# CFLAGS for this arch
|
||||||
arch_variant_cflags := \
|
arch_variant_cflags := \
|
||||||
-march=core-avx2 \
|
-march=core-avx2 \
|
||||||
-mstackrealign \
|
|
||||||
-mfpmath=sse \
|
-mfpmath=sse \
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,5 @@ ARCH_X86_HAVE_MOVBE := false
|
||||||
# CFLAGS for this arch
|
# CFLAGS for this arch
|
||||||
arch_variant_cflags := \
|
arch_variant_cflags := \
|
||||||
-march=core-avx-i \
|
-march=core-avx-i \
|
||||||
-mstackrealign \
|
|
||||||
-mfpmath=sse \
|
-mfpmath=sse \
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,5 @@ ARCH_X86_HAVE_MOVBE := false
|
||||||
# CFLAGS for this arch
|
# CFLAGS for this arch
|
||||||
arch_variant_cflags := \
|
arch_variant_cflags := \
|
||||||
-march=corei7-avx \
|
-march=corei7-avx \
|
||||||
-mstackrealign \
|
|
||||||
-mfpmath=sse \
|
-mfpmath=sse \
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,5 @@ ARCH_X86_HAVE_MOVBE := true
|
||||||
# CFLAGS for this arch
|
# CFLAGS for this arch
|
||||||
arch_variant_cflags := \
|
arch_variant_cflags := \
|
||||||
-march=slm \
|
-march=slm \
|
||||||
-mstackrealign \
|
|
||||||
-mfpmath=sse \
|
-mfpmath=sse \
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,5 @@ ARCH_X86_HAVE_POPCNT := false # popcnt is not supported by current Atom CPUs
|
||||||
# CFLAGS for this arch
|
# CFLAGS for this arch
|
||||||
arch_variant_cflags := \
|
arch_variant_cflags := \
|
||||||
-march=atom \
|
-march=atom \
|
||||||
-mstackrealign \
|
|
||||||
-mfpmath=sse \
|
-mfpmath=sse \
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue