+++ /dev/null
---- glibc-2.5/Makeconfig.orig 2007-02-14 08:43:34.000000000 +0000
-+++ glibc-2.5/Makeconfig 2007-02-14 14:17:07.824692250 +0000
-@@ -693,7 +693,7 @@
- # The compilation rules use $(CPPFLAGS-${SUFFIX}) and $(CFLAGS-${SUFFIX})
- # to pass different flags for each flavor.
- libtypes = $(foreach o,$(object-suffixes-for-libc),$(libtype$o))
--all-object-suffixes := .o .os .op .og .ob .oS
-+all-object-suffixes := .o .os .op .ob .oS
- object-suffixes :=
- CPPFLAGS-.o = $(pic-default)
- CFLAGS-.o = $(filter %frame-pointer,$(+cflags))
-@@ -723,14 +723,9 @@
- endif
- ifeq (yes,$(build-omitfp))
- # Under --enable-omitfp, we build the library optimized without
--# debugging information using -fomit-frame-pointer, and build an extra
--# library with debugging information. The debuggable objects are named foo.og.
--object-suffixes += .og
--CPPFLAGS-.og = $(pic-default)
--CFLAGS-.og = -g
-+# debugging information using -fomit-frame-pointer.
- CFLAGS-.o = $(filter %frame-pointer,$(+cflags)) -fomit-frame-pointer -D__USE_STRING_INLINES
- CFLAGS-.os += -fomit-frame-pointer -D__USE_STRING_INLINES
--libtype.og = lib%_g.a
- endif
-
- bppfx = BP-
+++ /dev/null
---- glibc-2.3.2/Makeconfig.orig Mon Jan 6 06:31:36 2003
-+++ glibc-2.3.2/Makeconfig Fri May 9 10:05:02 2003
-@@ -691,8 +691,8 @@
- object-suffixes += .og
- CPPFLAGS-.og = $(pic-default)
- CFLAGS-.og = -g
--CFLAGS-.o = $(filter %frame-pointer,$(+cflags)) -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES
--CFLAGS-.os += -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES
-+CFLAGS-.o = $(filter %frame-pointer,$(+cflags)) -fomit-frame-pointer -D__USE_STRING_INLINES
-+CFLAGS-.os += -fomit-frame-pointer -D__USE_STRING_INLINES
- libtype.og = lib%_g.a
- endif
-
Patch4: %{name}-sotruss-sh.patch
Patch5: %{name}-sparc-softfp-gcc.patch
Patch6: %{name}-paths.patch
-Patch7: %{name}-no_opt_override.patch
+
Patch8: %{name}-missing-nls.patch
Patch9: %{name}-java-libc-wait.patch
Patch10: %{name}-info.patch
-Patch11: %{name}-no_debuggable_objects.patch
+
Patch12: %{name}-rh-bug-769421.patch
Patch14: %{name}-sparc-errno_fix.patch
Patch15: %{name}-new-charsets.patch
%patch4 -p1
%patch5 -p1
%patch6 -p1
-# OBSOLETE?
-#%patch7 -p1
+
%patch8 -p1
%patch9 -p1
%patch10 -p1
-# CHECK, POSSIBLY UPDATE
-#%patch11 -p1
+
# CHECK, LIKELY OBSOLETE
#%patch12 -p1
%patch14 -p0
../%configure \
--with-binutils=$(pwd)/alt-tools \
--enable-kernel="%{min_kernel}" \
- --enable-omitfp \
--with-headers=%{_includedir} \
--with%{!?with_selinux:out}-selinux \
--with-tls \