aboutsummaryrefslogtreecommitdiff
path: root/devel/mingw32-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/mingw32-gcc')
-rw-r--r--devel/mingw32-gcc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/mingw32-gcc/Makefile b/devel/mingw32-gcc/Makefile
index 1fc55c0e5e93..95fe55c370c2 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 \