diff options
Diffstat (limited to 'cross')
-rw-r--r-- | cross/avr-binutils/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cross/avr-binutils/Makefile b/cross/avr-binutils/Makefile index be6984ed12a..002f5d50438 100644 --- a/cross/avr-binutils/Makefile +++ b/cross/avr-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2013/11/19 23:06:24 dsainty Exp $ +# $NetBSD: Makefile,v 1.22 2013/12/31 00:48:48 mef Exp $ DISTNAME= binutils-2.23.2 PKGNAME= ${DISTNAME:S/^/avr-/} @@ -47,8 +47,9 @@ post-install: ) # Rename to avoid conflict to native and other cross assembler. # and clang differs its path so, (the same as h8300-elf-binutils). + # (SunOS 5.1 places at amd64 instead of x86_64) (cd ${DESTDIR}${PREFIX}; \ - for d in ${MACHINE_ARCH}/libiberty.a libiberty.a; \ + for d in amd64/libiberty.a ${MACHINE_ARCH}/libiberty.a libiberty.a; \ do if [ -f lib/$$d ]; then \ ${MV} lib/$$d avr/lib/libiberty.a; \ break; \ |