forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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 $@ $<
|
||||
|
||||
Reference in New Issue
Block a user