summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-12-08 22:27:57 +0000
committerjoerg <joerg@pkgsrc.org>2013-12-08 22:27:57 +0000
commitda0fe7d5f942830d9eaf760470c35d9f6f607ba7 (patch)
treeef2685e5e54690b5478ac60414fdde50b7e2c41a /cross
parent255f57e60460a5412611274ea6b0618ad09a24ff (diff)
downloadpkgsrc-da0fe7d5f942830d9eaf760470c35d9f6f607ba7.tar.gz
Make sure GCC's unwind.h is picked up and not a potential copy from
/usr/include.
Diffstat (limited to 'cross')
-rw-r--r--cross/avr-gcc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/cross/avr-gcc/Makefile b/cross/avr-gcc/Makefile
index 3a0c73ab018..3e433815d05 100644
--- a/cross/avr-gcc/Makefile
+++ b/cross/avr-gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2013/11/20 11:00:43 dsainty Exp $
+# $NetBSD: Makefile,v 1.33 2013/12/08 22:27:57 joerg Exp $
DISTNAME= gcc-4.5.3
PKGNAME= avr-gcc-4.5.3
@@ -44,6 +44,7 @@ SUBST_STAGE.sed= post-patch
pre-configure:
${MKDIR} ${WRKDIR}/obj
+ ${LN} -s ${WRKDIR}/obj/gcc/include/unwind.h ${WRKSRC}/gcc/unwind.h
CONFIGURE_DIRS= ${WRKDIR}/obj
CONFIGURE_SCRIPT= ${WRKSRC}/configure