1 --- gcc-4.7.1/gcc/ada/gcc-interface/Makefile.in.orig 2012-07-10 17:33:42.146462985 +0200
2 +++ gcc-4.7.1/gcc/ada/gcc-interface/Makefile.in 2012-07-12 18:27:21.682409479 +0200
4 # CFLAGS is for the user to override to, e.g., do a bootstrap with -O2.
5 # BOOT_CFLAGS is the value of CFLAGS to pass
6 # to the stage2 and stage3 compilations
9 BOOT_CFLAGS = -O $(CFLAGS)
10 # These exists to be overridden by the t-* files, respectively.
12 @@ -105,13 +105,13 @@ TEXI2PDF = texi2pdf
13 GNATBIND_FLAGS = -static -x
15 ADAFLAGS = -W -Wall -gnatpg -gnata
16 -FORCE_DEBUG_ADAFLAGS = -g
17 +FORCE_DEBUG_ADAFLAGS =
18 NO_INLINE_ADAFLAGS = -fno-inline
19 NO_OMIT_ADAFLAGS = -fno-omit-frame-pointer
20 NO_SIBLING_ADAFLAGS = -fno-optimize-sibling-calls
21 NO_REORDER_ADAFLAGS = -fno-toplevel-reorder
22 GNATLIBFLAGS = -W -Wall -gnatpg -nostdinc
23 -GNATLIBCFLAGS = -g -O2
25 # Pretend that _Unwind_GetIPInfo is available for the target by default. This
26 # should be autodetected during the configuration of libada and passed down to
27 # here, but we need something for --disable-libada and hope for the best.
28 --- gcc-4.7.1/libada/Makefile.in.orig 2012-06-12 17:12:37.000000000 +0200
29 +++ gcc-4.7.1/libada/Makefile.in 2012-07-12 18:27:53.482408144 +0200
30 @@ -59,7 +59,7 @@ LDFLAGS=
33 GNATLIBFLAGS= -W -Wall -gnatpg -nostdinc
34 -GNATLIBCFLAGS= -g -O2
36 GNATLIBCFLAGS_FOR_C = -W -Wall $(GNATLIBCFLAGS) $(CFLAGS_FOR_TARGET) \
37 -fexceptions -DIN_RTS @have_getipinfo@
39 --- gcc-4.7.1/libffi/Makefile.am.orig 2012-02-27 11:00:12.000000000 +0100
40 +++ gcc-4.7.1/libffi/Makefile.am 2012-07-12 18:28:20.115740360 +0200
43 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
45 -AM_CFLAGS = -Wall -g -fexceptions
46 +AM_CFLAGS = -Wall -fexceptions
48 # Build debug. Define FFI_DEBUG on the commandline so that, when building with
49 # MSVC, it can link against the debug CRT.
50 --- gcc-4.7.1/libffi/Makefile.in.orig 2012-06-14 10:48:08.000000000 +0200
51 +++ gcc-4.7.1/libffi/Makefile.in 2012-07-12 18:28:35.029073067 +0200
52 @@ -486,7 +486,7 @@ libffi_convenience_la_LIBADD = $(libffi_
53 libffi_convenience_la_DEPENDENCIES = $(libffi_la_DEPENDENCIES)
54 nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
55 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
56 -AM_CFLAGS = -Wall -g -fexceptions $(am__append_2)
57 +AM_CFLAGS = -Wall -fexceptions $(am__append_2)
58 @LIBAT_BUILD_VERSIONED_SHLIB_FALSE@libffi_version_script =
59 @LIBAT_BUILD_VERSIONED_SHLIB_GNU_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libffi_version_script = -Wl,--version-script,libffi.map
60 @LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libffi_version_script = -Wl,-M,libffi.map-sun
61 --- gcc-4.7.1/libgcc/Makefile.in.orig 2012-05-24 16:59:38.000000000 +0200
62 +++ gcc-4.7.1/libgcc/Makefile.in 2012-07-12 18:28:59.042405393 +0200
65 # Options to use when compiling libgcc2.a.
67 -LIBGCC2_DEBUG_CFLAGS = -g
68 +LIBGCC2_DEBUG_CFLAGS =
69 LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(HOST_LIBGCC2_CFLAGS) \
70 $(LIBGCC2_DEBUG_CFLAGS) -DIN_LIBGCC2 \
71 -fbuilding-libgcc -fno-stack-protector \
72 --- gcc-4.7.1/libstdc++-v3/include/Makefile.am.orig 2012-03-23 12:00:54.000000000 +0100
73 +++ gcc-4.7.1/libstdc++-v3/include/Makefile.am 2012-07-12 18:31:29.102399096 +0200
74 @@ -1154,22 +1154,22 @@
75 # Build two precompiled C++ includes, stdc++.h.gch/*.gch
76 ${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
77 -mkdir -p ${pch1_output_builddir}
78 - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g -std=gnu++0x ${pch1_source} \
79 + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -std=gnu++0x ${pch1_source} \
82 ${pch1b_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
83 -mkdir -p ${pch1_output_builddir}
84 - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch1_source} -o $@
85 + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch1_source} -o $@
87 # Build a precompiled TR1 include, stdtr1c++.h.gch/O2.gch
88 ${pch2_output}: ${pch2_source} ${pch1_output}
89 -mkdir -p ${pch2_output_builddir}
90 - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch2_source} -o $@
91 + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch2_source} -o $@
93 # Build a precompiled extension include, extc++.h.gch/O2.gch
94 ${pch3_output}: ${pch3_source} ${pch2_output}
95 -mkdir -p ${pch3_output_builddir}
96 - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch3_source} -o $@
97 + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch3_source} -o $@
99 # For robustness sake (in light of junk files or in-source
100 # configuration), copy from the build or source tree to the install
101 --- gcc-4.7.1/libstdc++-v3/include/Makefile.in.orig 2012-03-23 12:00:54.000000000 +0100
102 +++ gcc-4.7.1/libstdc++-v3/include/Makefile.in 2012-07-12 18:31:43.922398474 +0200
103 @@ -1543,22 +1543,22 @@
104 # Build two precompiled C++ includes, stdc++.h.gch/*.gch
105 ${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
106 -mkdir -p ${pch1_output_builddir}
107 - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g -std=gnu++0x ${pch1_source} \
108 + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -std=gnu++0x ${pch1_source} \
111 ${pch1b_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
112 -mkdir -p ${pch1_output_builddir}
113 - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch1_source} -o $@
114 + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch1_source} -o $@
116 # Build a precompiled TR1 include, stdtr1c++.h.gch/O2.gch
117 ${pch2_output}: ${pch2_source} ${pch1_output}
118 -mkdir -p ${pch2_output_builddir}
119 - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch2_source} -o $@
120 + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch2_source} -o $@
122 # Build a precompiled extension include, extc++.h.gch/O2.gch
123 ${pch3_output}: ${pch3_source} ${pch2_output}
124 -mkdir -p ${pch3_output_builddir}
125 - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch3_source} -o $@
126 + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch3_source} -o $@
128 # For robustness sake (in light of junk files or in-source
129 # configuration), copy from the build or source tree to the install
130 --- gcc-4.7.1/Makefile.in.orig 2012-05-16 17:54:24.000000000 +0200
131 +++ gcc-4.7.1/Makefile.in 2012-07-12 18:32:07.075730835 +0200
134 # Flags to pass to stage2 and later makes. They are defined
135 # here so that they can be overridden by Makefile fragments.
139 BOOT_ADAFLAGS=-gnatpg -gnata
142 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
143 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
144 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
145 -GOCFLAGS_FOR_TARGET = -O2 -g
146 +GOCFLAGS_FOR_TARGET = -O2
148 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
149 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@