Date: Sun, 28 Jul 2024 08:51:06 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280396] Mk/Uses/cmake.mk: Disallow USE_CSTD and USE_CXXSTD Message-ID: <bug-280396-7788-uSuF9gdvha@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-280396-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-280396-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280396 --- Comment #14 from Gleb Popov <arrowd@FreeBSD.org> --- I'd like to draw an analogy between these knobs and, for example, WITH_DEBU= G. 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=3Ddebug, 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 proble= m. Making USE_*STD knobs follow the same idea sounds right to me. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280396-7788-uSuF9gdvha>