]> git.pld-linux.org Git - packages/crossmingw64-gcc.git/blob - crossmingw64-gcc-pr25672.patch
- explicit cross build setup, fix cflags for target libgcc (pr25672).
[packages/crossmingw64-gcc.git] / crossmingw64-gcc-pr25672.patch
1 --- gcc-4.3.1/Makefile.in.orig  2008-07-04 16:14:16.416794737 +0200
2 +++ gcc-4.3.1/Makefile.in       2008-07-04 16:19:42.460096287 +0200
3 @@ -379,11 +379,11 @@
4  # We want to ensure that TARGET libraries (which we know are built with
5  # gcc) are built with "-O2 -g", so prepend those options when setting
6  # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
7 -CFLAGS_FOR_TARGET = -O2 -g $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) \
8 +CFLAGS_FOR_TARGET = -O2 $(SYSROOT_CFLAGS_FOR_TARGET) \
9         $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
10  SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
11  DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
12 -CXXFLAGS_FOR_TARGET = -O2 -g $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) \
13 +CXXFLAGS_FOR_TARGET = -O2 $(SYSROOT_CFLAGS_FOR_TARGET) \
14         $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
15  LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
16  LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
This page took 0.080349 seconds and 3 git commands to generate.