summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjoerg <joerg>2013-12-08 22:27:57 +0000
committerjoerg <joerg>2013-12-08 22:27:57 +0000
commit39a2f53e7e3be9ca907df3b229bf06ea3747bd19 (patch)
treeef2685e5e54690b5478ac60414fdde50b7e2c41a /cross
parentd8e909f107d36ca72f7e121bfa837e6e989e0136 (diff)
downloadpkgsrc-39a2f53e7e3be9ca907df3b229bf06ea3747bd19.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