notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2034723
)
adjust famec flags after O2 -> O3 change
author
notaz
<notasas@gmail.com>
Wed, 27 Jan 2016 00:11:16 +0000
(
02:11
+0200)
committer
notaz
<notasas@gmail.com>
Wed, 27 Jan 2016 00:11:16 +0000
(
02:11
+0200)
Makefile
patch
|
blob
|
blame
|
history
README
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
eecb768
..
70ce193
100644
(file)
--- 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
3254fe2
..
d9c1091
100644
(file)
--- 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