summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsevan <sevan>2015-05-08 20:28:30 +0000
committersevan <sevan>2015-05-08 20:28:30 +0000
commitb3c3861925fbd23d282a4031bbe756ad7bd9eb56 (patch)
treeeec932049399404c150d7f1ba912f47a7b4b74c7 /mk
parent2b5de47c9bf814c670b30d66c51909b721116c83 (diff)
downloadpkgsrc-b3c3861925fbd23d282a4031bbe756ad7bd9eb56.tar.gz
For 64bit little endian PowerPC hosts running Linux
Set the ABI to 64 bit Define the suffix appended to the locations in the library search path Reviewed by bsiegert@
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/Linux.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk
index a966f39c983..4f1741a23aa 100644
--- a/mk/platform/Linux.mk
+++ b/mk/platform/Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.61 2015/04/21 17:01:56 joerg Exp $
+# $NetBSD: Linux.mk,v 1.62 2015/05/08 20:28:30 sevan Exp $
#
# Variable definitions for the Linux operating system.
@@ -112,6 +112,11 @@ ABI?= 64
LIBABISUFFIX?= 64
.endif
+.if ${MACHINE_ARCH} == "powerpc64le"
+ABI?= 64
+LIBABISUFFIX?= 64
+.endif
+
# When building 32-bit packages on x86_64 GNU ld isn't smart enough to
# figure out the target architecture based on the objects so we need to
# explicitly set it.