summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/ChangeLog7
-rw-r--r--make/custom/Linux-posix.cfg2
2 files changed, 8 insertions, 1 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index bbaee45046..046a1a6af7 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,5 +1,12 @@
2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
+ * custom/Linux-posix.cfg: Merge patch from Till Straumann which would
+ work except gcc core dumps with an ICE when may_alias is used in this
+ code. I filed a GCC PR and reduced optimization to -O0 and it does
+ run again.
+
+2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
+
* Templates/Makefile.leaf: At suggestion of Robert Grimes add commented
out make-cxx-exe usage example.
diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg
index 7a95d5df5d..7356c3e60a 100644
--- a/make/custom/Linux-posix.cfg
+++ b/make/custom/Linux-posix.cfg
@@ -19,7 +19,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE
# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V = -O0 -g
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)