diff options
author | richard <richard@pkgsrc.org> | 2016-09-17 05:41:37 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2016-09-17 05:41:37 +0000 |
commit | eedb3a846f877856c9533a22204f8ce4ee9ec51f (patch) | |
tree | 5236afde37afa9b86f5c72bfa9d9c383e8539775 /mk | |
parent | 2366eb51ac9f03beb9f4d5be933b8410a8c08f0a (diff) | |
download | pkgsrc-eedb3a846f877856c9533a22204f8ce4ee9ec51f.tar.gz |
set LIBABISUFFIX to /aarch64-linux-gnu for arm64
simplifies _OPSYS_SYSTEM_RPATH and _OPSYS_LIB_DIRS
permitting lots of stuff using LIBABISUFFIX to work now.
TODO: probably similar for the armv7 platforms as
the pattern '${MACHINE_ARCH}-${LOWER_OPSYS}-gnu${APPEND_ABI}'
seems like it should work for both.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/Linux.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index 5762e340f29..3e1348fda55 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.67 2016/08/24 05:31:20 richard Exp $ +# $NetBSD: Linux.mk,v 1.68 2016/09/17 05:41:37 richard Exp $ # # Variable definitions for the Linux operating system. @@ -67,9 +67,10 @@ _OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}:/lib/arm-linux- _OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX} /lib/arm-linux-gnueabi /usr/lib/arm-linux-gnueabi .endif .endif -.if !empty(MACHINE_ARCH:Maarch64*) -_OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}:/lib/aarch64-linux-gnu:/usr/lib/aarch64-linux-gnu -_OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX} /lib/aarch64-linux-gnu /usr/lib/aarch64-linux-gnu +.if !empty(MACHINE_ARCH:Maarch64) +LIBABISUFFIX?= /aarch64-linux-gnu +_OPSYS_SYSTEM_RPATH= /lib:/usr/lib:/lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX} +_OPSYS_LIB_DIRS?= /lib /usr/lib /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX} .endif .else _OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX} |