diff options
author | Ian Rogers <irogers@google.com> | 2013-02-26 15:10:22 -0800 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2013-02-26 15:10:22 -0800 |
commit | 35a6b4fb65b17fbc698fbd0796eee89b7a06c5e9 (patch) | |
tree | 2b378655d9e254191ed756763004d9bd95122b53 /core | |
parent | 33b190f6c6653b3c3493c725a96ff340c4466604 (diff) | |
download | build-35a6b4fb65b17fbc698fbd0796eee89b7a06c5e9.zip build-35a6b4fb65b17fbc698fbd0796eee89b7a06c5e9.tar.gz build-35a6b4fb65b17fbc698fbd0796eee89b7a06c5e9.tar.bz2 |
Specify -msse3 on host as on target.
Make the host and the target x86 build more uniform by using the same machine flags.
Its unlikely Android has ever been built on a machine without SSE3 support.
Bug: 8068608
Change-Id: I19635528b61bf2c6faf02c2e575b1d9bf8025d3a
Diffstat (limited to 'core')
-rw-r--r-- | core/combo/HOST_linux-x86.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/combo/HOST_linux-x86.mk b/core/combo/HOST_linux-x86.mk index 3001f59..2d586a3 100644 --- a/core/combo/HOST_linux-x86.mk +++ b/core/combo/HOST_linux-x86.mk @@ -40,7 +40,8 @@ ifneq ($(strip $(BUILD_HOST_64bit)),) HOST_GLOBAL_CFLAGS += -m64 HOST_GLOBAL_LDFLAGS += -m64 else -HOST_GLOBAL_CFLAGS += -m32 +# We expect SSE3 floating point math. +HOST_GLOBAL_CFLAGS += -mstackrealign -msse3 -mfpmath=sse -m32 HOST_GLOBAL_LDFLAGS += -m32 endif # BUILD_HOST_64bit |