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.
This commit is contained in:
parent
bb094ed79d
commit
cbc120b22c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284772
@ -7,6 +7,6 @@ SYM_MAPS += ${.CURDIR}/arm/Symbol.map
|
|||||||
ARCH_SRCS = fenv-softfp.c fenv-vfp.c
|
ARCH_SRCS = fenv-softfp.c fenv-vfp.c
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
CFLAGS.fenv-vfp.c= -mfloat-abi=softfp
|
CFLAGS.fenv-vfp.c= -mfpu=vfp -mfloat-abi=softfp
|
||||||
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
|
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user