summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-06-21 18:34:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-06-21 18:34:17 +0000
commit218b070bfd3eb8a8b4007083cb86d2a30c2d1922 (patch)
tree469a83f91e3f1b2398fe98c6bdf99b995be75ef1 /make
parent2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-218b070bfd3eb8a8b4007083cb86d2a30c2d1922.tar.bz2
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.
Diffstat (limited to 'make')
-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)