diff options
| author | Andrew Turner <andrew@FreeBSD.org> | 2014-03-23 12:49:25 +0000 |
|---|---|---|
| committer | Andrew Turner <andrew@FreeBSD.org> | 2014-03-23 12:49:25 +0000 |
| commit | 73279d4113e80c00043c03c5d2e9d5632bb593a4 (patch) | |
| tree | 1949e937eb5bec564ca9f702751244ed2c5927e7 /lib/libcompiler_rt | |
| parent | 4e3f1ce854e19a0daf7ea09504696abc83c5d1b7 (diff) | |
Notes
Diffstat (limited to 'lib/libcompiler_rt')
| -rw-r--r-- | lib/libcompiler_rt/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index 8c560d7b3681..5f8039bc166f 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -165,7 +165,9 @@ SRCF+= stdatomic .endif .for file in ${SRCF} -. if ${MACHINE_CPUARCH} != "arm" && exists(${CRTSRC}/${CRTARCH}/${file}.S) +. if ${MACHINE_ARCH} == "armv6hf" && exists(${CRTSRC}/${CRTARCH}/${file}vfp.S) +SRCS+= ${file}vfp.S +. elif (${MACHINE_CPUARCH} != "arm" || ${MACHINE_ARCH} == "armv6hf") && exists(${CRTSRC}/${CRTARCH}/${file}.S) SRCS+= ${file}.S . else SRCS+= ${file}.c |
