[Bug 280396] Mk/Uses/cmake.mk: Disallow USE_CSTD and USE_CXXSTD
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 28 09:51:06 BST 2024
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280396
--- Comment #14 from Gleb Popov <arrowd at FreeBSD.org> ---
I'd like to draw an analogy between these knobs and, for example, WITH_DEBUG.
By itself WITH_DEBUG only sets C[XX]FLAGS, but other build systems react to
this knob in a specific way: cmake.mk sets CMAKE_BUILD_TYPE, meson.mk passes
--buildtype=debug, etc.
But it is still possible mess up a debugging build by passing -O3 via
DEBUG_FLAGS. I regard this as a pilot error, rather than a framework problem.
Making USE_*STD knobs follow the same idea sounds right to me.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list