]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- remove junk from *.la; release 2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 26 Dec 2002 17:46:38 +0000 (17:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcc.spec -> 1.130

gcc.spec

index b5cbc377fe61b3b706e4638fb6ec70fa19b745ec..c187fd3233e43691026182fb3c5fb7ceb0481a66 100644 (file)
--- a/gcc.spec
+++ b/gcc.spec
@@ -13,7 +13,7 @@ Summary:      GNU Compiler Collection
 Summary(pl):   Kolekcja kompilatorów GNU
 Name:          gcc
 Version:       %{GCC_VERSION}
-Release:       1
+Release:       2
 Epoch:         %{EPOCH}
 License:       GPL
 Group:         Development/Languages
@@ -648,6 +648,11 @@ cp -f libffi/LICENSE java-doc/LICENSE.libffi
 cp -f libobjc/README gcc/objc/README.libobjc
 %endif
 
+# avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc-lib/*/%{version}
+for f in libstdc++.la %{!?_without_java:libgcj.la} ; do
+       perl -pi -e 's@-L[^ ]*[acs.] @@g' $RPM_BUILD_ROOT%{_libdir}/$f
+done
+
 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 mv -f $RPM_BUILD_ROOT%{_mandir}/ja/man1/{cccp,cpp}.1
 
This page took 0.100328 seconds and 4 git commands to generate.