------- Comment #15 from pluto at agmk dot net 2006-08-17 23:39 ------- (In reply to comment #13) > (In reply to comment #12) > > The patch is wrong, you need something like > > > > -CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) > > +CFLAGS_FOR_TARGET = -O2 $(LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) > > > > and similarly for CXXFLAGS. > > > > this patch works for me. will anybody commit? >
argh, i've tested wrong patch. yours version doesn't work because of LIBCFLAGS=$(CFLAGS) in Makefile.in:290. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672