diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-09-21 05:31:23 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-09-21 05:31:23 -0300 |
commit | 3b89f5095e20040a7070fae415e3c9c94bf14e48 (patch) | |
tree | 328fa715605d132f7ff5f18e79573eead7ca60fe | |
parent | 1cab7d1e4b4e0a5ba14f5aee86957885cda011b8 (diff) |
cross-binutils: minor fix
-rw-r--r-- | cross/cross-binutils/PKGBUILD | 4 |
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 } |