aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/quad
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2010-08-24 20:54:43 +0000
committerWarner Losh <imp@FreeBSD.org>2010-08-24 20:54:43 +0000
commit2c0959ae6be382e3d2eea4999f537294b9eb3da9 (patch)
treebb0f841155cd39dbde2a783d763631c8becd298c /lib/libc/quad
parentf4fbf9c859df8c382aea624c930eb96557fcb15d (diff)
downloadsrc-2c0959ae6be382e3d2eea4999f537294b9eb3da9.tar.gz
src-2c0959ae6be382e3d2eea4999f537294b9eb3da9.zip
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@)
Notes
Notes: svn path=/head/; revision=211774
Diffstat (limited to 'lib/libc/quad')
-rw-r--r--lib/libc/quad/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/quad/Makefile.inc b/lib/libc/quad/Makefile.inc
index 84723a73658c..016fa34dda4e 100644
--- a/lib/libc/quad/Makefile.inc
+++ b/lib/libc/quad/Makefile.inc
@@ -2,9 +2,9 @@
# $FreeBSD$
# Quad support, if needed
-.PATH: ${.CURDIR}/${MACHINE_CPUARCH}/quad ${.CURDIR}/quad
+.PATH: ${.CURDIR}/${LIBC_ARCH}/quad ${.CURDIR}/quad
-.if ${MACHINE_CPUARCH} == "i386"
+.if ${LIBC_ARCH} == "i386"
SRCS+= cmpdi2.c divdi3.c moddi3.c qdivrem.c ucmpdi2.c udivdi3.c umoddi3.c