summaryrefslogtreecommitdiffstats
path: root/lib/libc/softfloat
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-08-24 20:54:43 +0000
committerimp <imp@FreeBSD.org>2010-08-24 20:54:43 +0000
commita34c7e01875a6937a85f5aeab3c3c4a9abad4989 (patch)
treebb0f841155cd39dbde2a783d763631c8becd298c /lib/libc/softfloat
parentd3a20dc0b93297e94a5351435c958bdaa7379f25 (diff)
downloadFreeBSD-src-a34c7e01875a6937a85f5aeab3c3c4a9abad4989.zip
FreeBSD-src-a34c7e01875a6937a85f5aeab3c3c4a9abad4989.tar.gz
Powerpc is special here. powerpc and powerpc64 use different ABIs, so
their implementations aren't in the same files. Introduce LIBC_ARCH and use that in preference to MACHINE_CPUARCH. Tested by amd64 and powerpc64 builds (thanks nathanw@)
Diffstat (limited to 'lib/libc/softfloat')
-rw-r--r--lib/libc/softfloat/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/softfloat/Makefile.inc b/lib/libc/softfloat/Makefile.inc
index c3df0ae..ac7fbf7 100644
--- a/lib/libc/softfloat/Makefile.inc
+++ b/lib/libc/softfloat/Makefile.inc
@@ -2,10 +2,10 @@
# $FreeBSD$
SOFTFLOAT_BITS?=64
-.PATH: ${MACHINE_CPUARCH}/softfloat \
+.PATH: ${LIBC_ARCH}/softfloat \
${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat
-CFLAGS+= -I${.CURDIR}/${MACHINE_CPUARCH}/softfloat -I${.CURDIR}/softfloat
+CFLAGS+= -I${.CURDIR}/${LIBC_ARCH}/softfloat -I${.CURDIR}/softfloat
CFLAGS+= -DSOFTFLOAT_FOR_GCC
SRCS+= softfloat.c
OpenPOWER on IntegriCloud