From b3c3861925fbd23d282a4031bbe756ad7bd9eb56 Mon Sep 17 00:00:00 2001 From: sevan Date: Fri, 8 May 2015 20:28:30 +0000 Subject: 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@ --- mk/platform/Linux.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mk') 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. -- cgit v1.2.3