From 0e773465fa97efc4c9e424fd483d515d5472863a Mon Sep 17 00:00:00 2001 From: John Marino Date: Wed, 25 Feb 2015 14:07:23 +0000 Subject: databases/mongodb: Pass CXXFLAGS instead of CFLAGS Mongo is a c++ program, and the REINPLACE command was affecting the CCFLAGS variable, not the CFLAGS variable. In most cases, but not all, CXXFLAGS and CFLAGS have the same value though. Approved by: just fix it. --- databases/mongodb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'databases/mongodb') 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} -- cgit v1.2.3