summaryrefslogtreecommitdiffstats
path: root/lib/msun/Makefile
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-04-21 13:31:55 +0000
committerkib <kib@FreeBSD.org>2013-04-21 13:31:55 +0000
commit2ccc50ad8d9c7af30f2f8ebdd30b2ba02f12e7da (patch)
tree0d1bcc83473ff2a9029fc4d23bebe805b338ec89 /lib/msun/Makefile
parent1e5834db92827c01050b569d370c44791273d1f3 (diff)
downloadFreeBSD-src-2ccc50ad8d9c7af30f2f8ebdd30b2ba02f12e7da.zip
FreeBSD-src-2ccc50ad8d9c7af30f2f8ebdd30b2ba02f12e7da.tar.gz
Merge the 386 and amd64 versions of the fenv.h, to make cc -m32
compilations which use fenv.h work. Reviewed by: tjil Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/msun/Makefile')
-rw-r--r--lib/msun/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index a1ec6c9..fdb5e2b 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -35,6 +35,10 @@ CFLAGS+= -I${.CURDIR}/ld128
.PATH: ${.CURDIR}/src
.PATH: ${.CURDIR}/man
+.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
+.PATH: ${.CURDIR}/x86
+.endif
+
LIB= m
SHLIBDIR?= /lib
SHLIB_MAJOR= 5
OpenPOWER on IntegriCloud