pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/platform For 64bit little endian PowerPC hosts runn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56d3ad0ad846
branches:  trunk
changeset: 651655:56d3ad0ad846
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Fri May 08 20:28:30 2015 +0000

description:
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:

 mk/platform/Linux.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 3737c2c8aa99 -r 56d3ad0ad846 mk/platform/Linux.mk
--- a/mk/platform/Linux.mk      Fri May 08 20:26:19 2015 +0000
+++ b/mk/platform/Linux.mk      Fri May 08 20:28:30 2015 +0000
@@ -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 @@
 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.



Home | Main Index | Thread Index | Old Index