diff options
author | Warner Losh <imp@FreeBSD.org> | 2016-05-18 06:01:18 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2016-05-18 06:01:18 +0000 |
commit | 2c0e9e2a0944d76a442e1b69ae5aa880301efc24 (patch) | |
tree | 6b3be8c1f55460e86fa3d3968f0fd655e0ebd2ba /lib/libcompiler_rt | |
parent | c42a9b6a73ddbbbd4184d9448a9dd0c37c85fbe6 (diff) | |
download | src-2c0e9e2a0944d76a442e1b69ae5aa880301efc24.tar.gz src-2c0e9e2a0944d76a442e1b69ae5aa880301efc24.zip |
Make armv6 hard float abi by default. Kill armv6hf.
Allow CPUTYPE=soft to build the current soft-float abi libraries.
Add UPDATING entry to announce this.
Approved by: re@ (gjb)
Notes
Notes:
svn path=/head/; revision=300119
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r-- | lib/libcompiler_rt/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index 8959225e409f..011bead3995f 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -199,9 +199,10 @@ SRCF+= stdatomic .endif .for file in ${SRCF} -. if ${MACHINE_ARCH:Marm*hf*} != "" && exists(${CRTSRC}/${CRTARCH}/${file}vfp.S) +.if ${MACHINE_ARCH:Marmv6*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") && \ + exists(${CRTSRC}/${CRTARCH}/${file}vfp.S) SRCS+= ${file}vfp.S -. elif !(${MACHINE_CPUARCH} == "arm" && ${MACHINE_ARCH:Marm*hf*} == "") && exists(${CRTSRC}/${CRTARCH}/${file}.S) +. elif exists(${CRTSRC}/${CRTARCH}/${file}.S) SRCS+= ${file}.S . else SRCS+= ${file}.c |