Merge "Specify -msse3 on host as on target."

This commit is contained in:
Ian Rogers 2013-02-27 18:15:49 +00:00 committed by Gerrit Code Review
commit c148cca661

View file

@ -40,7 +40,8 @@ ifneq ($(strip $(BUILD_HOST_64bit)),)
HOST_GLOBAL_CFLAGS += -m64 HOST_GLOBAL_CFLAGS += -m64
HOST_GLOBAL_LDFLAGS += -m64 HOST_GLOBAL_LDFLAGS += -m64
else else
HOST_GLOBAL_CFLAGS += -m32 # We expect SSE3 floating point math.
HOST_GLOBAL_CFLAGS += -mstackrealign -msse3 -mfpmath=sse -m32
HOST_GLOBAL_LDFLAGS += -m32 HOST_GLOBAL_LDFLAGS += -m32
endif # BUILD_HOST_64bit endif # BUILD_HOST_64bit