]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- this time REALLY strip ld.so with --strip-debug only glibc-2_2_1-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 20 Jan 2001 00:08:52 +0000 (00:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (ld.so was stripped *during build* regardles of rpm 4.0-9 patches...)
- rpm-build 4.0-11 is required (changed setting LDFLAGS in %%configure)
- release 2

Changed files:
    glibc.spec -> 1.160

glibc.spec

index 0f96643b055fa1539b142c199fa841c0750402c0..548f21ca6fe72db4a5c8d8baa75eb976c086b40c 100644 (file)
@@ -6,7 +6,7 @@ Summary(pl):    GNU libc
 Summary(tr):   GNU libc
 name:          glibc
 Version:       2.2.1
-Release:       1
+Release:       2
 License:       LGPL
 Group:         Libraries
 Group(de):     Libraries
@@ -32,7 +32,7 @@ BuildRequires:        perl
 BuildRequires: gd-devel
 BuildRequires: libpng-devel
 BuildRequires: texinfo
-BuildRequires: rpm-build >= 4.0-9
+BuildRequires: rpm-build >= 4.0-11
 Provides:      ld.so.2
 Provides:      ldconfig
 Provides:      /sbin/ldconfig
@@ -333,6 +333,7 @@ A toy.
 %patch8 -p1
 
 %build
+LDFLAGS=" " ; export LDFLAGS
 %configure \
        --enable-add-ons=linuxthreads \
        --enable-kernel="%{?kernel:%{kernel}}%{!?kernel:%{min_kernel}}" \
@@ -402,6 +403,9 @@ cp ChangeLog ChangeLog.8 documentation
 
 gzip -9nf README NEWS FAQ BUGS NOTES PROJECTS documentation/*
 
+# strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
+%{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
+
 # Collect locale files and mark them with %%lang()
 rm -f glibc.lang
 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
This page took 0.033694 seconds and 4 git commands to generate.