mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
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.
This commit is contained in:
parent
137a22e0a1
commit
0e773465fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379912
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user