[Bug bootstrap/25672] cross build's libgcc picks up CFLAGS

bonzini at gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Aug 5 08:05:00 GMT 2006



------- Comment #12 from bonzini at gnu dot org  2006-08-05 08:05 -------
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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672



More information about the Gcc-bugs mailing list