FreeBSD Bugzilla – Attachment 252216 Details for
Bug 280396
Mk/Uses/cmake.mk: Disallow USE_CSTD and USE_CXXSTD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for cmake.mk v2
mk-cmake-use-stdv2.patch (text/plain), 738 bytes, created by
Daniel Engberg
on 2024-07-21 20:54:47 UTC
(
hide
)
Description:
Patch for cmake.mk v2
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2024-07-21 20:54:47 UTC
Size:
738 bytes
patch
obsolete
>diff --git a/Mk/Uses/cmake.mk b/Mk/Uses/cmake.mk >index 5d8921519bca..ef4ba87f504a 100644 >--- a/Mk/Uses/cmake.mk >+++ b/Mk/Uses/cmake.mk >@@ -166,6 +166,10 @@ BROKEN= USES=gmake is incompatible with cmake's ninja-generator (try cmake:noni > . if ! empty(USES:Memacs) > BROKEN= USES=emacs is incompatible with cmake's ninja-generator (try cmake:noninja) > . endif >+# USE_CSTD and USE_CXXSTD sanity checks >+. if defined(USE_CSTD) || defined(USE_CXXSTD) >+BROKEN= USE_CSTD and USE_CXXSTD are supported natively by CMake, use CMAKE_C_STANDARD and/or CMAKE_CXX_STANDARD accordingly and CMAKE_CXX_EXTENSIONS to toggle C++ (GNU) extensions >+. endif > . include "${USESDIR}/ninja.mk" > . endif > . endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280396
:
252215
| 252216 |
252217
|
252220