diff options
author | 2012-04-12 11:28:32 +0000 | |
---|---|---|
committer | 2012-04-12 11:28:32 +0000 | |
commit | 5db72d50120c7aa6e3bf540d4c9845bc08e685db (patch) | |
tree | 346d2569f65d9087bc27ac56d2ac1d5370909339 /gnu/usr.bin/cc | |
parent | move sh to gcc4 (diff) | |
download | wireguard-openbsd-5db72d50120c7aa6e3bf540d4c9845bc08e685db.tar.xz wireguard-openbsd-5db72d50120c7aa6e3bf540d4c9845bc08e685db.zip |
the fpu control symbol on sh (__fpscr_values) suddenly becomes local
instead of global with gcc4 and this ends up breaking things in hard
to debug ways. So move the definition to csu instead of libgcc.
ok miod@
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r-- | gnu/usr.bin/cc/libgcc/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/libgcc/Makefile b/gnu/usr.bin/cc/libgcc/Makefile index 3ce6255173f..b3ddfbc13b7 100644 --- a/gnu/usr.bin/cc/libgcc/Makefile +++ b/gnu/usr.bin/cc/libgcc/Makefile @@ -1,5 +1,5 @@ # $FreeBSD: src/gnu/lib/libgcc/Makefile,v 1.58.8.1 2009/04/15 03:14:26 kensmith Exp $ -# $OpenBSD: Makefile,v 1.21 2012/04/12 11:18:29 jsg Exp $ +# $OpenBSD: Makefile,v 1.22 2012/04/12 11:28:32 jsg Exp $ .include <bsd.own.mk> @@ -159,7 +159,7 @@ LIB2ADDEH = unwind-ia64.c unwind-sjlj.c unwind-c.c .endif .if ${TARGET_ARCH} == "sh" -CFLAGS+= -fpic +CFLAGS+= -fpic -DNO_FPSCR_VALUES LIB1ASMSRC = sh/lib1funcs.asm LIB1ASMFUNCS = _ashiftrt _ashiftrt_n _ashiftlt _lshiftrt _movmem \ _movmem_i4 _mulsi3 _sdivsi3 _sdivsi3_i4 _udivsi3 _udivsi3_i4 _set_fpscr \ |