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@
This commit is contained in:
sevan 2015-05-08 20:28:30 +00:00
parent 368b89d840
commit 98f4407ec4

View file

@ -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.