This is the mail archive of the ecos-bugs@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1000035] gcc-3.3: c++ flags passed to C compiler


http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000035


bartv@ecoscentric.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From bartv@ecoscentric.com  2003-15-07 09:11 BST -------
A new makefile generator may well require changing all custom build rules,
because it would involve a single top-level makefile rather than recursing into
every package directory. I really don't want to have to change all HAL packages
twice.

One short-term solution is just to live with this. It is only a warning.
Alternatively the pkgconf/rules.mak file can be kludged, something like:

ACTUAL_CFLAGS :-= $(CFLAGS)
ACTUAL_CFLAGS := $(subst -fno-rtti,,$(ACTUAL_CFLAGS))

and then just change the %.o.d:%.c rule to use ACTUAL_CFLAGS instead of CFLAGS.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]