Minor modifications to know what to do with powerpc64.
This commit is contained in:
parent
2cf64c8006
commit
13109bdf8d
@ -12,7 +12,7 @@ MACHINE_CPU = i486
|
||||
MACHINE_CPU = amd64 sse2 sse mmx
|
||||
. elif ${MACHINE_ARCH} == "ia64"
|
||||
MACHINE_CPU = itanium
|
||||
. elif ${MACHINE_ARCH} == "powerpc"
|
||||
. elif ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
|
||||
MACHINE_CPU = aim
|
||||
. elif ${MACHINE_ARCH} == "sparc64"
|
||||
. elif ${MACHINE_ARCH} == "arm"
|
||||
@ -121,6 +121,8 @@ _CPUCFLAGS = -Wa,-me500 -msoft-float
|
||||
. else
|
||||
_CPUCFLAGS = -mcpu=${CPUTYPE} -mno-powerpc64
|
||||
. endif
|
||||
. elif ${MACHINE_ARCH} == "powerpc64"
|
||||
_CPUCFLAGS = -mcpu=${CPUTYPE}
|
||||
. elif ${MACHINE_ARCH} == "mips"
|
||||
. if ${CPUTYPE} == "mips32"
|
||||
_CPUCFLAGS = -march=mips32
|
||||
|
@ -7,6 +7,7 @@
|
||||
(${MACHINE_ARCH} == "mips" && !defined(TARGET_BIG_ENDIAN))
|
||||
TARGET_ENDIANNESS= 1234
|
||||
.elif ${MACHINE_ARCH} == "powerpc" || \
|
||||
${MACHINE_ARCH} == "powerpc64" || \
|
||||
${MACHINE_ARCH} == "sparc64" || \
|
||||
${MACHINE_ARCH} == "arm" || \
|
||||
${MACHINE_ARCH} == "mips"
|
||||
|
@ -13,7 +13,7 @@ unix ?= We run FreeBSD, not UNIX.
|
||||
# of size and/or endian. This is called MACHINE_CPU in NetBSD, but
|
||||
# that's used for something different in FreeBSD.
|
||||
#
|
||||
MACHINE_CPUARCH=${MACHINE_ARCH:C/mipse[lb]/mips/:C/armeb/arm/}
|
||||
MACHINE_CPUARCH=${MACHINE_ARCH:C/mipse[lb]/mips/:C/armeb/arm/:C/powerpc64/powerpc/}
|
||||
.endif
|
||||
|
||||
# If the special target .POSIX appears (without prerequisites or
|
||||
|
Loading…
x
Reference in New Issue
Block a user