aboutsummaryrefslogtreecommitdiff
path: root/databases/mongodb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mongodb/Makefile')
-rw-r--r--databases/mongodb/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/mongodb/Makefile b/databases/mongodb/Makefile
index 6aea057bb053..5f63d34ca750 100644
--- a/databases/mongodb/Makefile
+++ b/databases/mongodb/Makefile
@@ -65,7 +65,7 @@ ALL_TARGET= core tools
.endif
post-patch:
- @${REINPLACE_CMD} 's/\["-O3"\]/"${CFLAGS}"/' \
+ @${REINPLACE_CMD} 's/\["-O3"\]/"${CXXFLAGS}"/' \
${WRKSRC}/SConstruct
.if ${PORT_OPTIONS:MTEST}