diff options
author | ed <ed@FreeBSD.org> | 2010-11-12 15:52:27 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-11-12 15:52:27 +0000 |
commit | 3bf90be3252bf06fbc103a421544d669b067fe33 (patch) | |
tree | 9306551b8b87fb542b358b1196ec177465bf56e5 /lib/libcompiler_rt | |
parent | 4de33564ffa4821cd65437a1e489da018d1c4979 (diff) | |
download | FreeBSD-src-3bf90be3252bf06fbc103a421544d669b067fe33.zip FreeBSD-src-3bf90be3252bf06fbc103a421544d669b067fe33.tar.gz |
Revert to libgcc for sparc64.
I've had a report of a sparc64 system where cc1 generates illegal
instructions. We still have to diagnose this properly, but instead of
hosing all sparc64 boxes out there, fall back to libgcc to prevent more
damage.
Reported by: Florian Smeets
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r-- | lib/libcompiler_rt/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index 2da28aa..103bb8c 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -147,11 +147,13 @@ SRCS+= ${file}.c . endif .endfor -.if ${MK_INSTALLLIB} != "no" +.if ${MACHINE_CPUARCH} != "sparc64" +. if ${MK_INSTALLLIB} != "no" SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a -.endif -.if ${MK_PROFILE} != "no" +. endif +. if ${MK_PROFILE} != "no" SYMLINKS+=libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a +. endif .endif .include <bsd.lib.mk> |