]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-no_debuggable_objects.patch
- preload ld.so, too (before calling iconvconfig)
[packages/glibc.git] / glibc-no_debuggable_objects.patch
1 --- glibc-2.5/Makeconfig.orig   2007-02-14 08:43:34.000000000 +0000
2 +++ glibc-2.5/Makeconfig        2007-02-14 14:17:07.824692250 +0000
3 @@ -693,7 +693,7 @@
4  # The compilation rules use $(CPPFLAGS-${SUFFIX}) and $(CFLAGS-${SUFFIX})
5  # to pass different flags for each flavor.
6  libtypes = $(foreach o,$(object-suffixes-for-libc),$(libtype$o))
7 -all-object-suffixes := .o .os .op .og .ob .oS
8 +all-object-suffixes := .o .os .op .ob .oS
9  object-suffixes :=
10  CPPFLAGS-.o = $(pic-default)
11  CFLAGS-.o = $(filter %frame-pointer,$(+cflags))
12 @@ -723,14 +723,9 @@
13  endif
14  ifeq (yes,$(build-omitfp))
15  # Under --enable-omitfp, we build the library optimized without
16 -# debugging information using -fomit-frame-pointer, and build an extra
17 -# library with debugging information.  The debuggable objects are named foo.og.
18 -object-suffixes += .og
19 -CPPFLAGS-.og = $(pic-default)
20 -CFLAGS-.og = -g
21 +# debugging information using -fomit-frame-pointer.
22  CFLAGS-.o = $(filter %frame-pointer,$(+cflags)) -fomit-frame-pointer -D__USE_STRING_INLINES
23  CFLAGS-.os += -fomit-frame-pointer -D__USE_STRING_INLINES
24 -libtype.og = lib%_g.a
25  endif
26  
27  bppfx = BP-
This page took 0.026013 seconds and 3 git commands to generate.