summaryrefslogtreecommitdiffstats
path: root/make/compilers
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-10 12:31:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-10 12:31:27 +0000
commitb67245d03b4042e4e93ff50703fa5fec499d4bbe (patch)
tree9e361c7a794b9641a560c2b1ac04981738335fc1 /make/compilers
parentb7e3949f67128493b2443524bd8fa956912da677 (diff)
downloadrtems-b67245d03b4042e4e93ff50703fa5fec499d4bbe.tar.bz2
Patch from Chris Johns <ccj@acm.org>:
I have managed to build the bsp ods68302 and the rtti test case I made with egcs-1.1b and binutils-2.9.1. I have built our C++ application and got no link errors so it looks like this is now working. I am yet to test the code but getting the thing to link was the problem. Please find a patch attached which removes the -fno-rtti option.
Diffstat (limited to 'make/compilers')
-rw-r--r--make/compilers/gcc-target-default.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg
index 61449f3f16..c1b27435dc 100644
--- a/make/compilers/gcc-target-default.cfg
+++ b/make/compilers/gcc-target-default.cfg
@@ -180,7 +180,7 @@ MKLIB=$(RANLIB)
#
COMPILE.c=$(CC) $(CFLAGS) $(XCFLAGS) -c
-COMPILE.cc=$(CXX) $(CFLAGS) $(CXXFLAGS) -fno-rtti $(XCFLAGS) -c
+COMPILE.cc=$(CXX) $(CFLAGS) $(CXXFLAGS) $(XCFLAGS) -c
${ARCH}/%.o: %.c
${COMPILE.c} -o $@ $<