diff options
author | 2011-09-18 09:10:30 +0000 | |
---|---|---|
committer | 2011-09-18 09:10:30 +0000 | |
commit | 0e5b74ae6988cf5fd426bd4a942833f5ba82d530 (patch) | |
tree | a070058ac03ad8986fd32d6c1dce9686adeb2262 | |
parent | ia64 should use gcc4; sort the list of binutils-2.17 platforms while I'm there (diff) | |
download | wireguard-openbsd-0e5b74ae6988cf5fd426bd4a942833f5ba82d530.tar.xz wireguard-openbsd-0e5b74ae6988cf5fd426bd4a942833f5ba82d530.zip |
Override LIB2ADDEH on ia64. Probably not quite right, but at least this makes
it possible to build a cross compiler, and we don't really care about
exception handling until we have a kernel to run C++ code on anyway.
-rw-r--r-- | gnu/usr.bin/cc/libgcc/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/libgcc/Makefile b/gnu/usr.bin/cc/libgcc/Makefile index 722770d893d..f985a895335 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.18 2011/08/04 14:46:58 kettenis Exp $ +# $OpenBSD: Makefile,v 1.19 2011/09/18 09:10:30 kettenis Exp $ .include <bsd.own.mk> @@ -148,6 +148,10 @@ LIB1ASMSRC = pa/milli64.S LIB2FUNCS_EXTRA = fptr.c .endif +.if ${TARGET_ARCH} == "ia64" +LIB2ADDEH = unwind-ia64.c unwind-sjlj.c unwind-c.c +.endif + .if ${TARGET_ARCH} == "sh" CFLAGS+= -fpic LIB1ASMSRC = sh/lib1funcs.asm |