[Bug 211134] Mk/Uses/compiler.mk: Needs to add --std=c++11 to CXXFLAGS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 15 07:25:10 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211134

--- Comment #2 from yuri at rawbw.com ---
Removing CXXFLAGS in devel/jsoncpp and adding USE_CXXSTD=c++11 causes it to
fail on 9.X:
> cc1plus: error: unrecognized command line option "-std=c++11"

So USE_CXXSTD fails to supply the right option in case of gcc.

Actually, I don't see why there should be the separate USE_CXXSTD. I think it
should be merged into Uses/compiler.mk.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list