]> git.pld-linux.org Git - packages/gcc4.git/blob - gcc4-nodebug.patch
- added from gcc/
[packages/gcc4.git] / gcc4-nodebug.patch
1 --- gcc-4.1-20050522/gcc/Makefile.in.orig       2005-05-20 21:17:40.000000000 +0000
2 +++ gcc-4.1-20050522/gcc/Makefile.in    2005-05-26 10:49:01.000000000 +0000
3 @@ -148,10 +148,10 @@
4  # TCFLAGS is used for compilations with the GCC just built.
5  XCFLAGS =
6  TCFLAGS =
7 -CFLAGS = -g
8 -STAGE1_CFLAGS = -g @stage1_cflags@
9 +CFLAGS =
10 +STAGE1_CFLAGS = @stage1_cflags@
11  STAGE1_CHECKING = -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING
12 -BOOT_CFLAGS = -g -O2
13 +BOOT_CFLAGS = -O2
14  
15  # Flags to determine code coverage. When coverage is disabled, this will
16  # contain the optimization flags, as you normally want code coverage
17 @@ -520,7 +520,7 @@
18  
19  # Options to use when compiling libgcc2.a.
20  #
21 -LIBGCC2_DEBUG_CFLAGS = -g
22 +LIBGCC2_DEBUG_CFLAGS =
23  LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) \
24                  $(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) \
25                  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED @inhibit_libc@
26 --- gcc-4.0-20040919/gcc/ada/Makefile.in.orig   2004-09-13 12:18:40.000000000 +0200
27 +++ gcc-4.0-20040919/gcc/ada/Makefile.in        2004-09-26 11:40:30.070894416 +0200
28 @@ -73,7 +73,7 @@
29  # to the stage2 and stage3 compilations
30  # XCFLAGS is used for most compilations but not when using the GCC just built.
31  XCFLAGS =
32 -CFLAGS = -g
33 +CFLAGS =
34  BOOT_CFLAGS = -O $(CFLAGS)
35  # These exists to be overridden by the x-* and t-* files, respectively.
36  X_CFLAGS =
37 @@ -118,9 +118,9 @@
38  ADA_CFLAGS =
39  ADAFLAGS = -W -Wall -gnatpg -gnata
40  SOME_ADAFLAGS =-gnata
41 -FORCE_DEBUG_ADAFLAGS = -g
42 +FORCE_DEBUG_ADAFLAGS =
43  GNATLIBFLAGS = -gnatpg -nostdinc
44 -GNATLIBCFLAGS = -g -O2
45 +GNATLIBCFLAGS = -O2
46  GNATLIBCFLAGS_FOR_C = $(GNATLIBCFLAGS) $(TARGET_LIBGCC2_CFLAGS) -fexceptions \
47         -DIN_RTS
48  ALL_ADA_CFLAGS = $(X_ADA_CFLAGS) $(T_ADA_CFLAGS) $(ADA_CFLAGS)
49 --- gcc/libada/Makefile.in.orig 2005-11-04 13:49:08.000000000 +0000
50 +++ gcc/libada/Makefile.in      2005-11-24 23:52:14.739531296 +0000
51 @@ -54,7 +54,6 @@
52  include $(GCC_DIR)/libada-mk
53  
54  TARGET_LIBGCC2_CFLAGS=
55 -GNATLIBCFLAGS= -g -O2
56  # Get target-specific overrides for TARGET_LIBGCC2_CFLAGS
57  # and possibly GNATLIBCFLAGS.  Currently this uses files
58  # in gcc/config.  The 'subst' call is used to rerelativize them
59 --- gcc-4.0-20040919/libffi/Makefile.am.orig    2004-08-30 17:42:59.000000000 +0200
60 +++ gcc-4.0-20040919/libffi/Makefile.am 2004-09-26 11:44:10.789340112 +0200
61 @@ -138,7 +138,7 @@
62  libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
63  nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
64  
65 -AM_CFLAGS = -Wall -g -fexceptions
66 +AM_CFLAGS = -Wall -fexceptions
67  
68  libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
69  
70 --- gcc-4.0-20040919/libffi/Makefile.in.orig    2004-09-19 19:47:04.000000000 +0200
71 +++ gcc-4.0-20040919/libffi/Makefile.in 2004-09-26 11:44:17.253357432 +0200
72 @@ -385,7 +385,7 @@
73  nodist_libffi_la_SOURCES = $(am__append_1) $(am__append_2) $(am__append_3) $(am__append_4) $(am__append_5) $(am__append_6) $(am__append_7) $(am__append_8) $(am__append_9) $(am__append_10) $(am__append_11) $(am__append_12) $(am__append_13) $(am__append_14) $(am__append_15) $(am__append_16) $(am__append_17) $(am__append_18)
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  libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
79  AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
80  AM_CCASFLAGS = $(AM_CPPFLAGS)
81 --- gcc-4.0-20040919/libjava/Makefile.am.orig   2004-09-10 10:22:58.000000000 +0200
82 +++ gcc-4.0-20040919/libjava/Makefile.am        2004-09-26 11:46:24.041082768 +0200
83 @@ -179,7 +179,7 @@
84  ## Extra CFLAGS used for JNI C sources shared with GNU Classpath.
85  PEDANTIC_CFLAGS = -ansi -pedantic -Wall -Wno-long-long
86  
87 -JCFLAGS = -g
88 +JCFLAGS =
89  JC1FLAGS = @LIBGCJ_JAVAFLAGS@ $(GCJFLAGS)
90  
91  LIBFFIINCS = @LIBFFIINCS@
92 --- gcc-4.0-20040919/libjava/Makefile.in.orig   2004-09-19 19:47:04.000000000 +0200
93 +++ gcc-4.0-20040919/libjava/Makefile.in        2004-09-26 11:47:02.431246576 +0200
94 @@ -4167,7 +4167,7 @@
95  @USING_GCC_FALSE@AM_CFLAGS = @LIBGCJ_CFLAGS@
96  @USING_GCC_TRUE@AM_CFLAGS = @LIBGCJ_CFLAGS@ $(WARNINGS)
97  PEDANTIC_CFLAGS = -ansi -pedantic -Wall -Wno-long-long
98 -JCFLAGS = -g
99 +JCFLAGS =
100  JC1FLAGS = @LIBGCJ_JAVAFLAGS@ $(GCJFLAGS)
101  AM_CPPFLAGS = -I$(top_srcdir) -Iinclude -I$(top_srcdir)/include \
102         $(GCINCS) $(THREADINCS) $(INCLTDL) \
This page took 0.077449 seconds and 3 git commands to generate.