tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mongodb3 fails to build after update, contains SSPL code

But the problem is not the version.  See the config.log I sent, which
shows the error message about an invalid content to the -O flag, and a
single quoted argument (starting with -O2) with multiple flags, which I
think are interpeted as part of the argument to -O.

Then, your CXXFLAGS are quoted somewhere: "-O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include". SCons thinks the whole "2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include" is a value for -O. :)


Home | Main Index | Thread Index | Old Index