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
This commit is contained in:
parent
33b190f6c6
commit
35a6b4fb65
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue