summaryrefslogtreecommitdiffstats
path: root/make/custom/Linux-posix.cfg
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/custom/Linux-posix.cfg
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/custom/Linux-posix.cfg')
-rw-r--r--make/custom/Linux-posix.cfg2
1 files changed, 1 insertions, 1 deletions
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)