Haiku: Set -fomit-frame-pointer and -fno-PIC

* This frees some registers and make the x86 assembler code work.
* Restore use of fpu_x86 because of this.
This commit is contained in:
Adrien Destugues 2015-04-25 10:13:36 +02:00
parent 2ad0536d13
commit 2adcbc2694

View File

@ -33,7 +33,7 @@ TYPE= APP
MACHINE=$(shell uname -m)
ifeq ($(MACHINE), BePC)
CPUSRCS = ../uae_cpu/basilisk_glue.cpp ../uae_cpu/memory.cpp ../uae_cpu/newcpu.cpp \
../uae_cpu/readcpu.cpp ../uae_cpu/fpu/fpu_uae.cpp cpustbl.cpp cpudefs.cpp cpufast.s
../uae_cpu/readcpu.cpp ../uae_cpu/fpu/fpu_x86.cpp cpustbl.cpp cpudefs.cpp cpufast.s
else
# CPUSRCS = ../powerrom_cpu/powerrom_cpu.cpp
CPUSRCS = ../uae_cpu/basilisk_glue.cpp ../uae_cpu/newcpu.cpp \
@ -116,7 +116,7 @@ SYMBOLS =
DEBUGGER =
# specify additional compiler flags for all files
COMPILER_FLAGS =
COMPILER_FLAGS = -fomit-frame-pointer -fno-PIC
# specify additional linker flags
LINKER_FLAGS =