diff options
author | sevan <sevan@pkgsrc.org> | 2015-05-08 20:28:30 +0000 |
---|---|---|
committer | sevan <sevan@pkgsrc.org> | 2015-05-08 20:28:30 +0000 |
commit | 046b3621d7f2624f11d44d8a20475b314913cb65 (patch) | |
tree | eec932049399404c150d7f1ba912f47a7b4b74c7 /mk | |
parent | dd2501d6a4615e47d6e07682a39899ea22318794 (diff) | |
download | pkgsrc-046b3621d7f2624f11d44d8a20475b314913cb65.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.mk | 7 |
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. |