summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-01-17 16:57:26 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-01-17 16:57:26 +0000
commit6dce34184674a44c81b1be0a064c4a99b510844e (patch)
tree9a15747eeb3fab61d53e53884c859b0c28485ac0 /make
parent9e53ee2ca60cbad82be440f957a8b5c5a9236471 (diff)
downloadrtems-6dce34184674a44c81b1be0a064c4a99b510844e.tar.bz2
CFLAGS_OPTIMIZE_V = -O0
Diffstat (limited to 'make')
-rw-r--r--make/custom/eZKit533.cfg8
-rw-r--r--make/custom/ep1a.cfg4
2 files changed, 3 insertions, 9 deletions
diff --git a/make/custom/eZKit533.cfg b/make/custom/eZKit533.cfg
index 21b76e2e03..5ba09c42d1 100644
--- a/make/custom/eZKit533.cfg
+++ b/make/custom/eZKit533.cfg
@@ -18,11 +18,8 @@ RTEMS_BSP_FAMILY=eZKit533
CPU_CFLAGS=
# optimize flag: typically -O2
-# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
-#CFLAGS_OPTIMIZE_V=-O4 -g
-#CFLAGS_OPTIMIZE_V=-O2 -g
-#CFLAGS_OPTIMIZE_V=-O1 -g
-CFLAGS_OPTIMIZE_V=-O0 -g
+# gcc-4.2.0 segfaults on -OX > -O0
+CFLAGS_OPTIMIZE_V=-O0
# The following are definitions of make-exe which will work using ld as
# is currently required. It is expected that as of gcc 2.8, the end user
@@ -37,4 +34,3 @@ define make-exe
endef
# Miscellaneous additions go here
-
diff --git a/make/custom/ep1a.cfg b/make/custom/ep1a.cfg
index 963a3a6d5a..6530527e5b 100644
--- a/make/custom/ep1a.cfg
+++ b/make/custom/ep1a.cfg
@@ -17,9 +17,7 @@ RTEMS_BSP_FAMILY=ep1a
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align
# optimize flag: typically -O2
-# NOTE: some level of -O may be actually required by inline assembler
-#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
-CFLAGS_OPTIMIZE_V = -O4
+CFLAGS_OPTIMIZE_V = -O2
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \