]> git.pld-linux.org Git - packages/crossavr-gcc.git/blame - crossavr-gcc-bug25672.patch
- updated to 4.2.4
[packages/crossavr-gcc.git] / crossavr-gcc-bug25672.patch
CommitLineData
1321be35
ER
1http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672
2
3--- Makefile.in.orig Thu Dec 15 19:02:02 2005
4+++ Makefile.in Thu Apr 27 03:58:59 2006
5@@ -329,7 +329,7 @@
6 # CFLAGS will be just -g. We want to ensure that TARGET libraries
7 # (which we know are built with gcc) are built with optimizations so
8 # prepend -O2 when setting CFLAGS_FOR_TARGET.
9-CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
10+CFLAGS_FOR_TARGET = -O2 $(filter-out -march=% -mcpu=%,$(CFLAGS)) $(SYSROOT_CFLAGS_FOR_TARGET)
11 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
12 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
13 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
This page took 0.066227 seconds and 4 git commands to generate.