]>
Commit | Line | Data |
---|---|---|
1542d2c4 MK |
1 | diff -urNp -x '*.orig' gcc-10.2.0.org/Makefile.in gcc-10.2.0/Makefile.in |
2 | --- gcc-10.2.0.org/Makefile.in 2020-07-23 08:35:16.912379792 +0200 | |
3 | +++ gcc-10.2.0/Makefile.in 2021-03-21 01:23:21.870335808 +0100 | |
4 | @@ -373,7 +373,7 @@ BUILD_PREFIX_1 = @BUILD_PREFIX_1@ | |
5 | ||
6 | # Flags to pass to stage2 and later makes. They are defined | |
7 | # here so that they can be overridden by Makefile fragments. | |
8 | -BOOT_CFLAGS= -g -O2 | |
9 | +BOOT_CFLAGS= -O2 | |
10 | BOOT_LDFLAGS= | |
11 | BOOT_ADAFLAGS= -gnatpg | |
12 | ||
a1f9a69a | 13 | @@ -619,9 +619,9 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARG |
1542d2c4 MK |
14 | LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) |
15 | LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates | |
16 | LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@ | |
a1f9a69a | 17 | -GM2FLAGS_FOR_TARGET = -O2 -g |
1542d2c4 MK |
18 | -GOCFLAGS_FOR_TARGET = -O2 -g |
19 | -GDCFLAGS_FOR_TARGET = -O2 -g | |
a1f9a69a | 20 | +GM2FLAGS_FOR_TARGET = -O2 |
1542d2c4 MK |
21 | +GOCFLAGS_FOR_TARGET = -O2 |
22 | +GDCFLAGS_FOR_TARGET = -O2 | |
23 | ||
24 | FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ | |
25 | SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ | |
26 | diff -urNp -x '*.orig' gcc-10.2.0.org/gcc/ada/gcc-interface/Makefile.in gcc-10.2.0/gcc/ada/gcc-interface/Makefile.in | |
27 | --- gcc-10.2.0.org/gcc/ada/gcc-interface/Makefile.in 2020-07-23 08:35:17.112381997 +0200 | |
28 | +++ gcc-10.2.0/gcc/ada/gcc-interface/Makefile.in 2021-03-21 01:23:21.859335808 +0100 | |
37f6de33 PS |
29 | @@ -66,7 +66,7 @@ |
30 | # CFLAGS is for the user to override to, e.g., do a bootstrap with -O2. | |
31 | # BOOT_CFLAGS is the value of CFLAGS to pass | |
8751c61e | 32 | # to the stage2 and stage3 compilations |
8751c61e JB |
33 | -CFLAGS = -g |
34 | +CFLAGS = | |
35 | BOOT_CFLAGS = -O $(CFLAGS) | |
37f6de33 PS |
36 | # These exists to be overridden by the t-* files, respectively. |
37 | T_CFLAGS = | |
175a1b54 | 38 | @@ -105,13 +105,13 @@ TEXI2PDF = texi2pdf |
b4627121 | 39 | GNATBIND_FLAGS = -static -x |
29255619 | 40 | ADA_CFLAGS = |
11268db8 | 41 | ADAFLAGS = -W -Wall -gnatpg -gnata -gnatU |
29255619 PS |
42 | -FORCE_DEBUG_ADAFLAGS = -g |
43 | +FORCE_DEBUG_ADAFLAGS = | |
d3ce3beb | 44 | NO_INLINE_ADAFLAGS = -fno-inline |
175a1b54 | 45 | NO_OMIT_ADAFLAGS = -fno-omit-frame-pointer |
b4627121 AM |
46 | NO_SIBLING_ADAFLAGS = -fno-optimize-sibling-calls |
47 | NO_REORDER_ADAFLAGS = -fno-toplevel-reorder | |
bcf5ba16 | 48 | GNATLIBFLAGS = -W -Wall -gnatg -nostdinc |
8751c61e JB |
49 | -GNATLIBCFLAGS = -g -O2 |
50 | +GNATLIBCFLAGS = -O2 | |
05ff79b1 | 51 | # Pretend that _Unwind_GetIPInfo is available for the target by default. This |
42ec3c2b AM |
52 | # should be autodetected during the configuration of libada and passed down to |
53 | # here, but we need something for --disable-libada and hope for the best. | |
1542d2c4 MK |
54 | diff -urNp -x '*.orig' gcc-10.2.0.org/libada/Makefile.in gcc-10.2.0/libada/Makefile.in |
55 | --- gcc-10.2.0.org/libada/Makefile.in 2020-07-23 08:35:18.684399314 +0200 | |
56 | +++ gcc-10.2.0/libada/Makefile.in 2021-03-21 01:23:21.859335808 +0100 | |
57 | @@ -61,7 +61,7 @@ LDFLAGS= | |
b4627121 AM |
58 | CFLAGS=-g |
59 | PICFLAG = @PICFLAG@ | |
60 | GNATLIBFLAGS= -W -Wall -gnatpg -nostdinc | |
a61f2522 | 61 | -GNATLIBCFLAGS= -g -O2 |
37f6de33 | 62 | +GNATLIBCFLAGS= -O2 |
5019d727 | 63 | GNATLIBCFLAGS_FOR_C = -W -Wall $(GNATLIBCFLAGS) $(CFLAGS_FOR_TARGET) \ |
1542d2c4 | 64 | -fexceptions -DIN_RTS @have_getipinfo@ @have_capability@ |
37f6de33 | 65 | |
1542d2c4 MK |
66 | diff -urNp -x '*.orig' gcc-10.2.0.org/libffi/Makefile.am gcc-10.2.0/libffi/Makefile.am |
67 | --- gcc-10.2.0.org/libffi/Makefile.am 2020-07-23 08:35:18.736399887 +0200 | |
68 | +++ gcc-10.2.0/libffi/Makefile.am 2021-03-21 01:23:21.859335808 +0100 | |
11268db8 | 69 | @@ -182,7 +182,7 @@ nodist_libffi_convenience_la_SOURCES = $ |
b4627121 | 70 | |
37f6de33 | 71 | LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) |
b4627121 | 72 | |
11268db8 AM |
73 | -AM_CFLAGS = -Wall -g -fexceptions $(CET_FLAGS) |
74 | +AM_CFLAGS = -Wall -fexceptions $(CET_FLAGS) | |
d3ce3beb JR |
75 | if FFI_DEBUG |
76 | # Build debug. Define FFI_DEBUG on the commandline so that, when building with | |
77 | # MSVC, it can link against the debug CRT. | |
1542d2c4 MK |
78 | diff -urNp -x '*.orig' gcc-10.2.0.org/libffi/Makefile.in gcc-10.2.0/libffi/Makefile.in |
79 | --- gcc-10.2.0.org/libffi/Makefile.in 2020-07-23 08:35:54.708796179 +0200 | |
80 | +++ gcc-10.2.0/libffi/Makefile.in 2021-03-21 01:23:21.860335808 +0100 | |
11268db8 | 81 | @@ -589,7 +589,7 @@ libffi_convenience_la_LIBADD = $(libffi_ |
d3ce3beb | 82 | libffi_convenience_la_DEPENDENCIES = $(libffi_la_DEPENDENCIES) |
29255619 | 83 | nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES) |
37f6de33 | 84 | LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) |
11268db8 AM |
85 | -AM_CFLAGS = -Wall -g -fexceptions $(CET_FLAGS) $(am__append_2) |
86 | +AM_CFLAGS = -Wall -fexceptions $(CET_FLAGS) $(am__append_2) | |
87 | @LIBFFI_BUILD_VERSIONED_SHLIB_FALSE@libffi_version_script = | |
88 | @LIBFFI_BUILD_VERSIONED_SHLIB_GNU_TRUE@@LIBFFI_BUILD_VERSIONED_SHLIB_TRUE@libffi_version_script = -Wl,--version-script,libffi.map | |
89 | @LIBFFI_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBFFI_BUILD_VERSIONED_SHLIB_TRUE@libffi_version_script = -Wl,-M,libffi.map-sun | |
1542d2c4 MK |
90 | diff -urNp -x '*.orig' gcc-10.2.0.org/libgcc/Makefile.in gcc-10.2.0/libgcc/Makefile.in |
91 | --- gcc-10.2.0.org/libgcc/Makefile.in 2020-07-23 08:35:18.748400018 +0200 | |
92 | +++ gcc-10.2.0/libgcc/Makefile.in 2021-03-21 01:23:21.860335808 +0100 | |
93 | @@ -243,7 +243,7 @@ endif | |
37f6de33 | 94 | |
b4627121 AM |
95 | # Options to use when compiling libgcc2.a. |
96 | # | |
97 | -LIBGCC2_DEBUG_CFLAGS = -g | |
98 | +LIBGCC2_DEBUG_CFLAGS = | |
99 | LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(HOST_LIBGCC2_CFLAGS) \ | |
100 | $(LIBGCC2_DEBUG_CFLAGS) -DIN_LIBGCC2 \ | |
101 | -fbuilding-libgcc -fno-stack-protector \ | |
1542d2c4 MK |
102 | diff -urNp -x '*.orig' gcc-10.2.0.org/libstdc++-v3/include/Makefile.am gcc-10.2.0/libstdc++-v3/include/Makefile.am |
103 | --- gcc-10.2.0.org/libstdc++-v3/include/Makefile.am 2021-03-21 01:22:56.853335808 +0100 | |
104 | +++ gcc-10.2.0/libstdc++-v3/include/Makefile.am 2021-03-21 01:23:21.861335808 +0100 | |
105 | @@ -1343,22 +1343,22 @@ ${host_builddir}/gthr-default.h: ${tople | |
b4627121 AM |
106 | # Build two precompiled C++ includes, stdc++.h.gch/*.gch |
107 | ${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source} | |
108 | -mkdir -p ${pch1_output_builddir} | |
109 | - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g -std=gnu++0x ${pch1_source} \ | |
110 | + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -std=gnu++0x ${pch1_source} \ | |
111 | -o $@ | |
112 | ||
113 | ${pch1b_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source} | |
114 | -mkdir -p ${pch1_output_builddir} | |
115 | - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch1_source} -o $@ | |
116 | + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch1_source} -o $@ | |
117 | ||
118 | # Build a precompiled TR1 include, stdtr1c++.h.gch/O2.gch | |
119 | ${pch2_output}: ${pch2_source} ${pch1_output} | |
120 | -mkdir -p ${pch2_output_builddir} | |
121 | - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch2_source} -o $@ | |
122 | + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch2_source} -o $@ | |
123 | ||
124 | # Build a precompiled extension include, extc++.h.gch/O2.gch | |
125 | ${pch3_output}: ${pch3_source} ${pch2_output} | |
126 | -mkdir -p ${pch3_output_builddir} | |
127 | - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch3_source} -o $@ | |
128 | + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch3_source} -o $@ | |
129 | ||
a1f9a69a JP |
130 | # The real deal. |
131 | install-data-local: install-headers | |
1542d2c4 MK |
132 | diff -urNp -x '*.orig' gcc-10.2.0.org/libstdc++-v3/include/Makefile.in gcc-10.2.0/libstdc++-v3/include/Makefile.in |
133 | --- gcc-10.2.0.org/libstdc++-v3/include/Makefile.in 2021-03-21 01:22:56.854335808 +0100 | |
134 | +++ gcc-10.2.0/libstdc++-v3/include/Makefile.in 2021-03-21 01:23:21.861335808 +0100 | |
135 | @@ -1821,22 +1821,22 @@ ${host_builddir}/gthr-default.h: ${tople | |
b4627121 AM |
136 | # Build two precompiled C++ includes, stdc++.h.gch/*.gch |
137 | ${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source} | |
138 | -mkdir -p ${pch1_output_builddir} | |
139 | - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g -std=gnu++0x ${pch1_source} \ | |
140 | + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -std=gnu++0x ${pch1_source} \ | |
141 | -o $@ | |
142 | ||
143 | ${pch1b_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source} | |
144 | -mkdir -p ${pch1_output_builddir} | |
145 | - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch1_source} -o $@ | |
146 | + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch1_source} -o $@ | |
147 | ||
148 | # Build a precompiled TR1 include, stdtr1c++.h.gch/O2.gch | |
149 | ${pch2_output}: ${pch2_source} ${pch1_output} | |
150 | -mkdir -p ${pch2_output_builddir} | |
151 | - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch2_source} -o $@ | |
152 | + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch2_source} -o $@ | |
153 | ||
154 | # Build a precompiled extension include, extc++.h.gch/O2.gch | |
155 | ${pch3_output}: ${pch3_source} ${pch2_output} | |
156 | -mkdir -p ${pch3_output_builddir} | |
157 | - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch3_source} -o $@ | |
158 | + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch3_source} -o $@ | |
159 | ||
a1f9a69a JP |
160 | # The real deal. |
161 | install-data-local: install-headers |