summaryrefslogtreecommitdiff
path: root/cross/avr-gcc
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
commit5bd8eaeb27c62c88400c891e2a51f2afc3f9a628 (patch)
treeef2685e5e54690b5478ac60414fdde50b7e2c41a /cross/avr-gcc
parent96fc30833f25515458de261689b59a33585c8085 (diff)
downloadpkgsrc-5bd8eaeb27c62c88400c891e2a51f2afc3f9a628.tar.gz
Make sure GCC's unwind.h is picked up and not a potential copy from
/usr/include.
Diffstat (limited to 'cross/avr-gcc')
-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