Date: Wed, 24 Jun 2015 18:29:35 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284772 - head/lib/msun/arm Message-ID: <201506241829.t5OITZrT001318@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Wed Jun 24 18:29:34 2015 New Revision: 284772 URL: https://svnweb.freebsd.org/changeset/base/284772 Log: Fix compilation when the armv6 world is being compiled without hw floating point support. The fenv-vfp.c file overrides -mfloat-abi so it can use floating point instructions if it detects support at runtime. Make it also override -mfpu in case the user has set -mfpu=none. Modified: head/lib/msun/arm/Makefile.inc Modified: head/lib/msun/arm/Makefile.inc ============================================================================== --- head/lib/msun/arm/Makefile.inc Wed Jun 24 18:26:04 2015 (r284771) +++ head/lib/msun/arm/Makefile.inc Wed Jun 24 18:29:34 2015 (r284772) @@ -7,6 +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.fenv-vfp.c= -mfpu=vfp -mfloat-abi=softfp CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506241829.t5OITZrT001318>