diff options
author | andrew <andrew@FreeBSD.org> | 2014-03-16 09:38:43 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2014-03-16 09:38:43 +0000 |
commit | db0c4db26d2a027798264e31e09dd68d9841e346 (patch) | |
tree | cb9a6778037661ec66b6e8719a9ac25f535b55f4 /lib/msun | |
parent | d1dfc4a67e6aa5a91b116baba29308c923eb2c34 (diff) | |
download | FreeBSD-src-db0c4db26d2a027798264e31e09dd68d9841e346.zip FreeBSD-src-db0c4db26d2a027798264e31e09dd68d9841e346.tar.gz |
Build fenv-vfp.c with the softfp float abi. Without this gcc generates an
incorrect assembly file that doesn't allow for vfp instructions.
Diffstat (limited to 'lib/msun')
-rw-r--r-- | lib/msun/arm/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/msun/arm/Makefile.inc b/lib/msun/arm/Makefile.inc index cdac74a..09f08d8 100644 --- a/lib/msun/arm/Makefile.inc +++ b/lib/msun/arm/Makefile.inc @@ -7,3 +7,6 @@ SYM_MAPS += ${.CURDIR}/arm/Symbol.map ARCH_SRCS = fenv-softfp.c fenv-vfp.c .endif +CFLAGS.fenv-vfp.c= -mfloat-abi=softfp +CFLAGS+= ${CFLAGS.${.IMPSRC:T}} + |