diff options
author | Ed Schouten <ed@FreeBSD.org> | 2010-11-12 15:52:27 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2010-11-12 15:52:27 +0000 |
commit | 585d4a8062519831fc8bc33fb0c7134b87ca94b2 (patch) | |
tree | 9306551b8b87fb542b358b1196ec177465bf56e5 /lib | |
parent | 7f39c0011f49ccab75f43d092a28facde1b506e6 (diff) | |
download | src-585d4a8062519831fc8bc33fb0c7134b87ca94b2.tar.gz src-585d4a8062519831fc8bc33fb0c7134b87ca94b2.zip |
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
Notes
Notes:
svn path=/head/; revision=215185
Diffstat (limited to 'lib')
-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 2da28aa9e675..103bb8ca504d 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> |