summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-09-21 05:31:23 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-09-21 05:31:23 -0300
commit3b89f5095e20040a7070fae415e3c9c94bf14e48 (patch)
tree328fa715605d132f7ff5f18e79573eead7ca60fe
parent1cab7d1e4b4e0a5ba14f5aee86957885cda011b8 (diff)
downloadabslibre-3b89f5095e20040a7070fae415e3c9c94bf14e48.tar.gz
abslibre-3b89f5095e20040a7070fae415e3c9c94bf14e48.tar.bz2
abslibre-3b89f5095e20040a7070fae415e3c9c94bf14e48.zip
cross-binutils: minor fix
-rw-r--r--cross/cross-binutils/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
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
}