summaryrefslogtreecommitdiff
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
parent6cdc41c78d7cb8289fc2fbad65a53446423da0a0 (diff)
install unwind.h, like for gcc3.
problem spotted by matthieu/naddy okay kettenis@, matthieu@
-rw-r--r--gnu/lib/libstdc++-v3/Makefile.common8
-rw-r--r--gnu/usr.bin/cc/include/Makefile8
2 files changed, 8 insertions, 8 deletions
diff --git a/gnu/lib/libstdc++-v3/Makefile.common b/gnu/lib/libstdc++-v3/Makefile.common
index a492afd513a..0db6a3e63c3 100644
--- a/gnu/lib/libstdc++-v3/Makefile.common
+++ b/gnu/lib/libstdc++-v3/Makefile.common
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.common,v 1.1 2010/05/15 08:21:03 robert Exp $
+# $OpenBSD: Makefile.common,v 1.2 2010/05/16 07:28:15 espie Exp $
GCCDIR= ${.CURDIR}/../../gcc/gcc
GCCLIB= ${GCCDIR}/gcc
@@ -26,9 +26,3 @@ SUPSRCS=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_arm.cc \
# from libiberty:
SRCS+= cp-demangle.c
-
-unwind.h: ${GCCDIR}/unwind-generic.h
- ln -sf ${.ALLSRC} ${.TARGET}
-
-SRCS+= unwind.h
-CLEANFILES+= unwind.h
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