]> git.pld-linux.org Git - packages/gcc.git/blob - gcc-nodebug.patch
- updated
[packages/gcc.git] / gcc-nodebug.patch
1 diff -urN gcc-4.7.0.org/gcc/ada/gcc-interface/Makefile.in gcc-4.7.0/gcc/ada/gcc-interface/Makefile.in
2 --- gcc-4.7.0.org/gcc/ada/gcc-interface/Makefile.in     2012-02-24 17:17:01.000000000 +0100
3 +++ gcc-4.7.0/gcc/ada/gcc-interface/Makefile.in 2012-03-22 15:46:37.236129553 +0100
4 @@ -66,7 +66,7 @@
5  # CFLAGS is for the user to override to, e.g., do a bootstrap with -O2.
6  # BOOT_CFLAGS is the value of CFLAGS to pass
7  # to the stage2 and stage3 compilations
8 -CFLAGS = -g
9 +CFLAGS =
10  BOOT_CFLAGS = -O $(CFLAGS)
11  # These exists to be overridden by the t-* files, respectively.
12  T_CFLAGS =
13 @@ -105,11 +105,11 @@
14  GNATBIND_FLAGS = -static -x
15  ADA_CFLAGS =
16  ADAFLAGS = -W -Wall -gnatpg -gnata
17 -FORCE_DEBUG_ADAFLAGS = -g
18 +FORCE_DEBUG_ADAFLAGS =
19  NO_SIBLING_ADAFLAGS = -fno-optimize-sibling-calls
20  NO_REORDER_ADAFLAGS = -fno-toplevel-reorder
21  GNATLIBFLAGS = -W -Wall -gnatpg -nostdinc
22 -GNATLIBCFLAGS = -g -O2
23 +GNATLIBCFLAGS = -O2
24  PICFLAG_FOR_TARGET = @PICFLAG_FOR_TARGET@
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 @@ -2739,7 +2739,7 @@
28         cd $(RTSDIR) && \
29         ../../gnatsym -s SYMVEC_$$$$.opt \
30         $(LIBGNAT_OBJS) $(GNATRTL_NONTASKING_OBJS) && \
31 -       ../../xgcc -g -B../../ -shared -shared-libgcc \
32 +       ../../xgcc -B../../ -shared -shared-libgcc \
33            -o libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) libgnat.a \
34            sys\$$library:trace.exe \
35            --for-linker=/noinform \
36 @@ -2748,7 +2748,7 @@
37         cd $(RTSDIR) && \
38         ../../gnatsym -s SYMVEC_$$$$.opt \
39         $(GNATRTL_TASKING_OBJS) && \
40 -       ../../xgcc -g -B../../ -shared -shared-libgcc \
41 +       ../../xgcc -B../../ -shared -shared-libgcc \
42            -o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
43            libgnarl.a libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
44            sys\$$library:trace.exe \
45 diff -urN gcc-4.7.0.org/libada/Makefile.in gcc-4.7.0/libada/Makefile.in
46 --- gcc-4.7.0.org/libada/Makefile.in    2012-02-24 17:17:01.000000000 +0100
47 +++ gcc-4.7.0/libada/Makefile.in        2012-03-22 15:46:37.016124154 +0100
48 @@ -54,7 +54,7 @@
49  CFLAGS=-g
50  PICFLAG = @PICFLAG@
51  GNATLIBFLAGS= -W -Wall -gnatpg -nostdinc
52 -GNATLIBCFLAGS= -g -O2
53 +GNATLIBCFLAGS= -O2
54  GNATLIBCFLAGS_FOR_C = -W -Wall $(GNATLIBCFLAGS) $(PICFLAG) \
55         -fexceptions -DIN_RTS @have_getipinfo@
56  
57 diff -urN gcc-4.7.0.org/libffi/Makefile.am gcc-4.7.0/libffi/Makefile.am
58 --- gcc-4.7.0.org/libffi/Makefile.am    2012-02-27 11:00:12.000000000 +0100
59 +++ gcc-4.7.0/libffi/Makefile.am        2012-03-22 15:46:33.659375098 +0100
60 @@ -168,7 +168,7 @@
61  libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
62  nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
63  
64 -AM_CFLAGS = -Wall -g -fexceptions
65 +AM_CFLAGS = -Wall -fexceptions
66  
67  LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
68  
69 diff -urN gcc-4.7.0.org/libffi/Makefile.in gcc-4.7.0/libffi/Makefile.in
70 --- gcc-4.7.0.org/libffi/Makefile.in    2012-03-22 08:37:39.000000000 +0100
71 +++ gcc-4.7.0/libffi/Makefile.in        2012-03-22 15:46:37.216129063 +0100
72 @@ -475,7 +475,7 @@
73         $(am__append_24) $(am__append_25)
74  libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
75  nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
76 -AM_CFLAGS = -Wall -g -fexceptions
77 +AM_CFLAGS = -Wall -fexceptions
78  LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
79  libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) $(AM_LTLDFLAGS)
80  AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
81 diff -urN gcc-4.7.0.org/libgcc/Makefile.in gcc-4.7.0/libgcc/Makefile.in
82 --- gcc-4.7.0.org/libgcc/Makefile.in    2011-11-22 04:01:02.000000000 +0100
83 +++ gcc-4.7.0/libgcc/Makefile.in        2012-03-22 15:46:37.229462724 +0100
84 @@ -221,7 +221,7 @@
85  
86  # Options to use when compiling libgcc2.a.
87  #
88 -LIBGCC2_DEBUG_CFLAGS = -g
89 +LIBGCC2_DEBUG_CFLAGS =
90  LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(HOST_LIBGCC2_CFLAGS) \
91                  $(LIBGCC2_DEBUG_CFLAGS) -DIN_LIBGCC2 \
92                  -fbuilding-libgcc -fno-stack-protector \
93 diff -urN gcc-4.7.0.org/libjava/classpath/tools/Makefile.am gcc-4.7.0/libjava/classpath/tools/Makefile.am
94 --- gcc-4.7.0.org/libjava/classpath/tools/Makefile.am   2011-09-29 13:37:47.000000000 +0200
95 +++ gcc-4.7.0/libjava/classpath/tools/Makefile.am       2012-03-22 15:46:33.626040947 +0100
96 @@ -355,8 +355,8 @@
97  if JAVA_MAINTAINER_MODE
98  ## Compile ASM separately as it is latin-1 encoded.
99         AC=`echo $(JCOMPILER) | sed -e 's/UTF-8/ISO-8859-1/g'`; \
100 -         $$AC -g -w -d $(srcdir)/asm @asm.lst
101 -       $(JCOMPILER) $(USE_JAVAC_FLAGS) -g -d $(srcdir)/classes @classes.lst @vm-tools.lst
102 +         $$AC -w -d $(srcdir)/asm @asm.lst
103 +       $(JCOMPILER) $(USE_JAVAC_FLAGS) -d $(srcdir)/classes @classes.lst @vm-tools.lst
104  endif
105  ## END GCJ LOCAL
106  ## Copy over tools resource files.
107 diff -urN gcc-4.7.0.org/libjava/classpath/tools/Makefile.in gcc-4.7.0/libjava/classpath/tools/Makefile.in
108 --- gcc-4.7.0.org/libjava/classpath/tools/Makefile.in   2011-09-29 13:37:47.000000000 +0200
109 +++ gcc-4.7.0/libjava/classpath/tools/Makefile.in       2012-03-22 15:46:37.172794665 +0100
110 @@ -1413,8 +1413,8 @@
111         fi
112         cat classes.lst asm.lst vm-tools.lst > all-classes.lst
113  @JAVA_MAINTAINER_MODE_TRUE@    AC=`echo $(JCOMPILER) | sed -e 's/UTF-8/ISO-8859-1/g'`; \
114 -@JAVA_MAINTAINER_MODE_TRUE@      $$AC -g -w -d $(srcdir)/asm @asm.lst
115 -@JAVA_MAINTAINER_MODE_TRUE@    $(JCOMPILER) $(USE_JAVAC_FLAGS) -g -d $(srcdir)/classes @classes.lst @vm-tools.lst
116 +@JAVA_MAINTAINER_MODE_TRUE@      $$AC -w -d $(srcdir)/asm @asm.lst
117 +@JAVA_MAINTAINER_MODE_TRUE@    $(JCOMPILER) $(USE_JAVAC_FLAGS) -d $(srcdir)/classes @classes.lst @vm-tools.lst
118         @list=`cd $(srcdir)/resource && find gnu/classpath/tools com/sun/tools/javac \
119                sun/rmi/rmic $(GJDOC_EX) -name \*.properties -print -o -name \*.jav -print`; \
120         for p in $$list; do \
121 diff -urN gcc-4.7.0.org/libjava/Makefile.am gcc-4.7.0/libjava/Makefile.am
122 --- gcc-4.7.0.org/libjava/Makefile.am   2011-08-05 16:37:48.000000000 +0200
123 +++ gcc-4.7.0/libjava/Makefile.am       2012-03-22 15:46:33.516038248 +0100
124 @@ -399,7 +399,7 @@
125  ## Extra CFLAGS used for JNI C sources shared with GNU Classpath.
126  PEDANTIC_CFLAGS = -ansi -pedantic -Wall -Wno-long-long
127  
128 -JCFLAGS = -g
129 +JCFLAGS =
130  JC1FLAGS = @LIBGCJ_JAVAFLAGS@ $(GCJFLAGS)
131  
132  LIBFFIINCS = @LIBFFIINCS@
133 diff -urN gcc-4.7.0.org/libjava/Makefile.in gcc-4.7.0/libjava/Makefile.in
134 --- gcc-4.7.0.org/libjava/Makefile.in   2012-03-22 08:37:39.000000000 +0100
135 +++ gcc-4.7.0/libjava/Makefile.in       2012-03-22 15:46:37.049458306 +0100
136 @@ -1032,7 +1032,7 @@
137  @BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE@LIBGCJ_REDUCED_REFLECTION_FLAGS = 
138  @BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE@LIBGCJ_REDUCED_REFLECTION_FLAGS = -freduced-reflection
139  PEDANTIC_CFLAGS = -ansi -pedantic -Wall -Wno-long-long
140 -JCFLAGS = -g
141 +JCFLAGS =
142  JC1FLAGS = @LIBGCJ_JAVAFLAGS@ $(GCJFLAGS)
143  AM_CPPFLAGS = -I$(top_srcdir) \
144         -Iinclude -I$(top_srcdir)/include \
145 diff -urN gcc-4.7.0.org/libjava/testsuite/Makefile.am gcc-4.7.0/libjava/testsuite/Makefile.am
146 --- gcc-4.7.0.org/libjava/testsuite/Makefile.am 2010-05-04 00:37:50.000000000 +0200
147 +++ gcc-4.7.0/libjava/testsuite/Makefile.am     2012-03-22 15:46:33.522705078 +0100
148 @@ -83,11 +83,11 @@
149           testtmpdir=`echo $$test | sed -e 's,/,_,g'`T; \
150           rm -rf $$testtmpdir; $(mkdir_p) $$testtmpdir; \
151           if test -n "$$testdep"; then \
152 -           $(GCJ) -C -g -w --encoding=UTF-8 -bootclasspath \
153 +           $(GCJ) -C -w --encoding=UTF-8 -bootclasspath \
154               $(top_builddir)/libgcj-$(gcc_version).jar::$$testtmpdir \
155               -d $$testtmpdir $(srcdir)/$$testdep || exit; \
156           fi; \
157 -         $(GCJ) -C -g -w --encoding=UTF-8 -bootclasspath \
158 +         $(GCJ) -C -w --encoding=UTF-8 -bootclasspath \
159             $(top_builddir)/libgcj-$(gcc_version).jar:$$testtmpdir \
160             -d $$testtmpdir $(srcdir)/$$test || exit; \
161           case "$$test" in \
162 diff -urN gcc-4.7.0.org/libjava/testsuite/Makefile.in gcc-4.7.0/libjava/testsuite/Makefile.in
163 --- gcc-4.7.0.org/libjava/testsuite/Makefile.in 2011-04-08 16:16:38.000000000 +0200
164 +++ gcc-4.7.0/libjava/testsuite/Makefile.in     2012-03-22 15:46:37.029457815 +0100
165 @@ -569,11 +569,11 @@
166  @JAVA_MAINTAINER_MODE_TRUE@      testtmpdir=`echo $$test | sed -e 's,/,_,g'`T; \
167  @JAVA_MAINTAINER_MODE_TRUE@      rm -rf $$testtmpdir; $(mkdir_p) $$testtmpdir; \
168  @JAVA_MAINTAINER_MODE_TRUE@      if test -n "$$testdep"; then \
169 -@JAVA_MAINTAINER_MODE_TRUE@        $(GCJ) -C -g -w --encoding=UTF-8 -bootclasspath \
170 +@JAVA_MAINTAINER_MODE_TRUE@        $(GCJ) -C -w --encoding=UTF-8 -bootclasspath \
171  @JAVA_MAINTAINER_MODE_TRUE@          $(top_builddir)/libgcj-$(gcc_version).jar::$$testtmpdir \
172  @JAVA_MAINTAINER_MODE_TRUE@          -d $$testtmpdir $(srcdir)/$$testdep || exit; \
173  @JAVA_MAINTAINER_MODE_TRUE@      fi; \
174 -@JAVA_MAINTAINER_MODE_TRUE@      $(GCJ) -C -g -w --encoding=UTF-8 -bootclasspath \
175 +@JAVA_MAINTAINER_MODE_TRUE@      $(GCJ) -C -w --encoding=UTF-8 -bootclasspath \
176  @JAVA_MAINTAINER_MODE_TRUE@        $(top_builddir)/libgcj-$(gcc_version).jar:$$testtmpdir \
177  @JAVA_MAINTAINER_MODE_TRUE@        -d $$testtmpdir $(srcdir)/$$test || exit; \
178  @JAVA_MAINTAINER_MODE_TRUE@      case "$$test" in \
179 diff -urN gcc-4.7.0.org/libstdc++-v3/include/Makefile.am gcc-4.7.0/libstdc++-v3/include/Makefile.am
180 --- gcc-4.7.0.org/libstdc++-v3/include/Makefile.am      2011-12-01 03:20:32.000000000 +0100
181 +++ gcc-4.7.0/libstdc++-v3/include/Makefile.am  2012-03-22 15:46:33.492704342 +0100
182 @@ -1154,22 +1154,22 @@
183  # Build two precompiled C++ includes, stdc++.h.gch/*.gch
184  ${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
185         -mkdir -p ${pch1_output_builddir}
186 -       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g -std=gnu++0x ${pch1_source} \
187 +       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -std=gnu++0x ${pch1_source} \
188         -o $@
189  
190  ${pch1b_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
191         -mkdir -p ${pch1_output_builddir}
192 -       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch1_source} -o $@
193 +       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch1_source} -o $@
194  
195  # Build a precompiled TR1 include, stdtr1c++.h.gch/O2.gch
196  ${pch2_output}: ${pch2_source} ${pch1_output}
197         -mkdir -p ${pch2_output_builddir}
198 -       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch2_source} -o $@
199 +       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch2_source} -o $@
200  
201  # Build a precompiled extension include, extc++.h.gch/O2.gch
202  ${pch3_output}: ${pch3_source} ${pch2_output}
203         -mkdir -p ${pch3_output_builddir}
204 -       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch3_source} -o $@
205 +       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch3_source} -o $@
206  
207  # For robustness sake (in light of junk files or in-source
208  # configuration), copy from the build or source tree to the install
209 diff -urN gcc-4.7.0.org/libstdc++-v3/include/Makefile.in gcc-4.7.0/libstdc++-v3/include/Makefile.in
210 --- gcc-4.7.0.org/libstdc++-v3/include/Makefile.in      2012-02-17 21:26:32.000000000 +0100
211 +++ gcc-4.7.0/libstdc++-v3/include/Makefile.in  2012-03-22 15:46:36.926121945 +0100
212 @@ -1543,22 +1543,22 @@
213  # Build two precompiled C++ includes, stdc++.h.gch/*.gch
214  ${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
215         -mkdir -p ${pch1_output_builddir}
216 -       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g -std=gnu++0x ${pch1_source} \
217 +       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -std=gnu++0x ${pch1_source} \
218         -o $@
219  
220  ${pch1b_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
221         -mkdir -p ${pch1_output_builddir}
222 -       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch1_source} -o $@
223 +       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch1_source} -o $@
224  
225  # Build a precompiled TR1 include, stdtr1c++.h.gch/O2.gch
226  ${pch2_output}: ${pch2_source} ${pch1_output}
227         -mkdir -p ${pch2_output_builddir}
228 -       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch2_source} -o $@
229 +       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch2_source} -o $@
230  
231  # Build a precompiled extension include, extc++.h.gch/O2.gch
232  ${pch3_output}: ${pch3_source} ${pch2_output}
233         -mkdir -p ${pch3_output_builddir}
234 -       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch3_source} -o $@
235 +       $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch3_source} -o $@
236  
237  # For robustness sake (in light of junk files or in-source
238  # configuration), copy from the build or source tree to the install
239 diff -urN gcc-4.7.0.org/Makefile.in gcc-4.7.0/Makefile.in
240 --- gcc-4.7.0.org/Makefile.in   2012-01-02 11:59:04.000000000 +0100
241 +++ gcc-4.7.0/Makefile.in       2012-03-22 15:46:37.012790739 +0100
242 @@ -364,7 +364,7 @@
243  
244  # Flags to pass to stage2 and later makes.  They are defined
245  # here so that they can be overridden by Makefile fragments.
246 -BOOT_CFLAGS= -g -O2
247 +BOOT_CFLAGS= -O2
248  BOOT_LDFLAGS=
249  BOOT_ADAFLAGS=-gnatpg -gnata
250  
251 @@ -574,7 +574,7 @@
252  LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
253  LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
254  LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
255 -GOCFLAGS_FOR_TARGET = -O2 -g
256 +GOCFLAGS_FOR_TARGET = -O2
257  
258  FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
259  SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
This page took 0.089575 seconds and 3 git commands to generate.