From 0270424fac34be5b63fb37caaaca60e378365d81 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 27 Jan 2016 02:11:16 +0200 Subject: [PATCH] adjust famec flags after O2 -> O3 change --- Makefile | 4 +++- README | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index eecb7687..70ce193a 100644 --- a/Makefile +++ b/Makefile @@ -211,7 +211,9 @@ pico/cd/gfx_cd.o: CFLAGS += -fno-strict-aliasing # fame needs ~2GB of RAM to compile on gcc 4.8 # on x86, this is reduced by ~300MB when debug info is off (but not on ARM) -cpu/fame/famec.o: CFLAGS += -g0 +# not using O3 and -fno-expensive-optimizations seems to also help, but you may +# want to remove this stuff for better performance if your compiler can handle it +cpu/fame/famec.o: CFLAGS += -g0 -O2 -fno-expensive-optimizations # random deps pico/carthw/svp/compiler.o : cpu/drc/emit_$(ARCH).c diff --git a/README b/README index 3254fe21..d9c10910 100644 --- a/README +++ b/README @@ -18,4 +18,4 @@ How to compile on Raspbian Wheezy: export CC=gcc-4.8 export CXX=g++-4.8 ./configure --platform=rpi2 -make \ No newline at end of file +make -- 2.39.5