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:
Ian Rogers 2013-02-26 15:10:22 -08:00
parent 33b190f6c6
commit 35a6b4fb65

View file

@ -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