]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Don't strip static archives.
authorAndreas Schwab <schwab@redhat.com>
Wed, 5 Aug 2009 10:01:02 +0000 (12:01 +0200)
committerAndreas Schwab <schwab@redhat.com>
Wed, 5 Aug 2009 10:01:02 +0000 (12:01 +0200)
This is already done by brp-strip-static-archive.

fedora/glibc.spec.in

index 2c3493622d15a897901856dc81f13aaaa46d0d81..79513d15ba10d3a1120069c45fb0689db936c8e5 100644 (file)
@@ -530,17 +530,6 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}
 cp -a $RPM_BUILD_ROOT%{_prefix}/%{_lib}/*.a \
   $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/
 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/%{_lib}/*_p.a
-# Now strip debugging info from static libraries
-pushd $RPM_BUILD_ROOT%{_prefix}/%{_lib}/
-for i in *.a; do
-  if [ -f $i ]; then
-    case "$i" in
-    *_p.a) ;;
-    *) strip -g -R .comment $i ;;
-    esac
-  fi
-done
-popd
 
 # rquota.x and rquota.h are now provided by quota
 rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx]