aboutsummaryrefslogtreecommitdiffstats
path: root/cad/gnucap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gnucap/Makefile')
-rw-r--r--cad/gnucap/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cad/gnucap/Makefile b/cad/gnucap/Makefile
index ba6b47ad09c5..a0f697dcc6d7 100644
--- a/cad/gnucap/Makefile
+++ b/cad/gnucap/Makefile
@@ -18,6 +18,8 @@ USE_REINPLACE= yes
USE_GMAKE= yes
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
+CFLAGS+= -DNEEDS_COPY_N
+
post-patch:
.for file in src/Make2.g++ src/Make.aux modelgen/Make.aux
@${REINPLACE_CMD} -e "s|g\+\+|\$$\{CXX\}|g" \