[arch-commits] Commit in ghdl/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun Apr 12 16:28:59 UTC 2020


    Date: Sunday, April 12, 2020 @ 16:28:58
  Author: ffy00
Revision: 613433

strip .o objects in ghdl-gcc

Modified:
  ghdl/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-12 16:28:13 UTC (rev 613432)
+++ PKGBUILD	2020-04-12 16:28:58 UTC (rev 613433)
@@ -159,7 +159,7 @@
   install -Dm 644 "$srcdir"/dest/usr/lib/gcc/x86_64-pc-linux-gnu/$_gcc/ghdl1 "$pkgdir"/usr/lib/gcc/x86_64-pc-linux-gnu/$_gcc/ghdl1
 
   # strip binaries
-  find "$pkgdir"/usr/bin/ "$pkgdir"/usr/lib/gcc -type f -and \( -executable \) -exec strip '{}' \;
+  find "$pkgdir"/usr/bin/ "$pkgdir"/usr/lib/gcc -type f -and \( -executable -o -name '*.o' \) -exec strip '{}' \;
 
   cd "$srcdir"/ghdl-gcc
 



More information about the arch-commits mailing list