aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/mingw-gcc/Makefile2
-rw-r--r--devel/mingw32-gcc/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/devel/mingw-gcc/Makefile b/devel/mingw-gcc/Makefile
index 1fc55c0e5e9..95fe55c370c 100644
--- a/devel/mingw-gcc/Makefile
+++ b/devel/mingw-gcc/Makefile
@@ -40,6 +40,8 @@ MAN1= cccp.1 \
post-patch:
${REINPLACE_CMD} -e 's/install-libiberty//' ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -E -e 's/([^x])str(error|signal).[co]/\1/g' \
+ ${WRKSRC}/libiberty/Makefile.in ${WRKSRC}/libstdc++/Makefile.in
pre-install:
${MV} ${PREFIX}/bin/i386-mingw32msvc-c++filt \
diff --git a/devel/mingw32-gcc/Makefile b/devel/mingw32-gcc/Makefile
index 1fc55c0e5e9..95fe55c370c 100644
--- a/devel/mingw32-gcc/Makefile
+++ b/devel/mingw32-gcc/Makefile
@@ -40,6 +40,8 @@ MAN1= cccp.1 \
post-patch:
${REINPLACE_CMD} -e 's/install-libiberty//' ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -E -e 's/([^x])str(error|signal).[co]/\1/g' \
+ ${WRKSRC}/libiberty/Makefile.in ${WRKSRC}/libstdc++/Makefile.in
pre-install:
${MV} ${PREFIX}/bin/i386-mingw32msvc-c++filt \