From: notaz Date: Wed, 27 Jan 2016 00:11:16 +0000 (+0200) Subject: adjust famec flags after O2 -> O3 change X-Git-Tag: v1.92~67 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0270424fac34be5b63fb37caaaca60e378365d81;p=picodrive.git adjust famec flags after O2 -> O3 change --- 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