Add -march=pentium to boot {CC,C++}FLAGS on x86_64, prevents GCC from generating SSE code.

This commit is contained in:
Alex Smith 2012-06-19 21:54:40 +01:00
parent 7c488bff70
commit cfd1c1802f
1 changed files with 2 additions and 2 deletions

View File

@ -391,8 +391,8 @@ switch $(HAIKU_ARCH) {
# Bootloader is 32-bit. # Bootloader is 32-bit.
HAIKU_BOOT_LINKFLAGS += -m elf_i386_haiku ; HAIKU_BOOT_LINKFLAGS += -m elf_i386_haiku ;
HAIKU_BOOT_CCFLAGS += -m32 ; HAIKU_BOOT_CCFLAGS += -m32 -march=pentium ;
HAIKU_BOOT_C++FLAGS += -m32 ; HAIKU_BOOT_C++FLAGS += -m32 -march=pentium ;
# Enable use of the gcc built-in atomic functions instead of atomic_*(). # Enable use of the gcc built-in atomic functions instead of atomic_*().
# The former are inlined and have thus less overhead. # The former are inlined and have thus less overhead.