From 3b89f5095e20040a7070fae415e3c9c94bf14e48 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 21 Sep 2016 05:31:23 -0300 Subject: cross-binutils: minor fix --- cross/cross-binutils/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cross/cross-binutils') diff --git a/cross/cross-binutils/PKGBUILD b/cross/cross-binutils/PKGBUILD index 580559040..ea6696ad7 100644 --- a/cross/cross-binutils/PKGBUILD +++ b/cross/cross-binutils/PKGBUILD @@ -169,6 +169,6 @@ package() { # Remove info documents that conflict with host version rm -rf ${pkgdir}/usr/share/info - echo "INPUT ( /usr/lib/libbfd.a -liberty -lz -ldl )" > "$pkgdir"/usr/lib/libbfd.so - echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" > "$pkgdir"/usr/lib/libopcodes.so + [[ $_target != xtensa-unknown-elf ]] && echo "INPUT ( /usr/lib/libbfd.a -liberty -lz -ldl )" > "$pkgdir"/usr/lib/libbfd.so + [[ $_target != xtensa-unknown-elf ]] && echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" > "$pkgdir"/usr/lib/libopcodes.so } -- cgit v1.2.3