SOURCES: crossmingw32ce-gcc-bug25672.patch (NEW) - from freebsd cv...

glen glen at pld-linux.org
Mon Apr 9 20:10:54 CEST 2007


Author: glen                         Date: Mon Apr  9 18:10:54 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- from freebsd cvs
  http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/devel/avr-gcc/files/patch-bug25672

---- Files affected:
SOURCES:
   crossmingw32ce-gcc-bug25672.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/crossmingw32ce-gcc-bug25672.patch
diff -u /dev/null SOURCES/crossmingw32ce-gcc-bug25672.patch:1.1
--- /dev/null	Mon Apr  9 20:10:54 2007
+++ SOURCES/crossmingw32ce-gcc-bug25672.patch	Mon Apr  9 20:10:49 2007
@@ -0,0 +1,13 @@
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
+
+--- Makefile.in.orig    Thu Dec 15 19:02:02 2005
++++ Makefile.in Thu Apr 27 03:58:59 2006
+@@ -329,7 +329,7 @@
+ # CFLAGS will be just -g.  We want to ensure that TARGET libraries
+ # (which we know are built with gcc) are built with optimizations so
+ # prepend -O2 when setting CFLAGS_FOR_TARGET.
+-CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
++CFLAGS_FOR_TARGET = -O2 $(filter-out -march=% -mcpu=%,$(CFLAGS)) $(SYSROOT_CFLAGS_FOR_TARGET)
+ SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
+ CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
+ LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
================================================================


More information about the pld-cvs-commit mailing list