From 2adcbc2694d71f645d502598f5f5683cb025f802 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 25 Apr 2015 10:13:36 +0200 Subject: [PATCH] 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. --- BasiliskII/src/BeOS/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BasiliskII/src/BeOS/Makefile b/BasiliskII/src/BeOS/Makefile index 90793344..16cae87f 100644 --- a/BasiliskII/src/BeOS/Makefile +++ b/BasiliskII/src/BeOS/Makefile @@ -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 =