summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-05-16 07:28:16 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-05-16 07:28:16 +0000
commita899480a1c80215e41e45354671ea471c806082c (patch)
tree8ef75570285ffb84f02904e3d8239c6488e2e39f /gnu/usr.bin/cc
parent6cdc41c78d7cb8289fc2fbad65a53446423da0a0 (diff)
install unwind.h, like for gcc3.
problem spotted by matthieu/naddy okay kettenis@, matthieu@
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/include/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/include/Makefile b/gnu/usr.bin/cc/include/Makefile
index aa653abb955..960d02fd03a 100644
--- a/gnu/usr.bin/cc/include/Makefile
+++ b/gnu/usr.bin/cc/include/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/usr.bin/cc/include/Makefile,v 1.9.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.7 2010/05/10 18:20:31 drahn Exp $
+# $OpenBSD: Makefile,v 1.8 2010/05/16 07:28:15 espie Exp $
.include <bsd.own.mk>
@@ -16,12 +16,18 @@ INCS= mmintrin.h
.elif ${TARGET_ARCH} == "powerpc"
INCS= ppc-asm.h altivec.h spe.h
.endif
+INCS += unwind.h
mm_malloc.h: pmm_malloc.h
@rm -rf ${.TARGET}
@cp ${.ALLSRC} ${.TARGET}
CLEANFILES+= mm_malloc.h
+unwind.h: ${GCCDIR}/unwind-generic.h
+ @rm -rf ${.TARGET}
+ @cp ${.ALLSRC} ${.TARGET}
+CLEANFILES+= unwind.h
+
all: ${INCS}
clean: _SUBDIRUSE