Thu Dec 19 22:10:35 2019 UTC ()
Requires C++03 to build.


(joerg)
diff -r1.1 -r1.2 pkgsrc/cross/xtensa-lx106-elf-gcc/Makefile

cvs diff -r1.1 -r1.2 pkgsrc/cross/xtensa-lx106-elf-gcc/Makefile (expand / switch to context diff)
--- pkgsrc/cross/xtensa-lx106-elf-gcc/Makefile 2019/09/20 15:20:20 1.1
+++ pkgsrc/cross/xtensa-lx106-elf-gcc/Makefile 2019/12/19 22:10:35 1.2
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/09/20 15:20:20 bouyer Exp $
+# $NetBSD: Makefile,v 1.2 2019/12/19 22:10:35 joerg Exp $
 
 # using configure options and sources from
 # https://github.com/earlephilhower/esp-quick-toolchain
@@ -53,7 +53,7 @@
 
 GNU_CONFIGURE=		yes
 INFO_FILES=		yes
-USE_LANGUAGES+=		c c++
+USE_LANGUAGES+=		c c++03
 USE_TOOLS+=		bash gmake makeinfo perl
 
 # for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549
@@ -89,7 +89,7 @@
 	${LN} -s ${WRKDIR}/newlib-*/libgloss ${WRKSRC}/libgloss
 
 pre-configure:
-	${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
+	${MKDIR} ${WRKSRC}/${OBJDIR}
 	${CP} ${FILESDIR}/xtensa-config.h ${WRKSRC}/include/xtensa-config.h
 
 .include "../../devel/gmp/buildlink3.mk"