Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108104248
D36695.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
724 B
Referenced Files
None
Subscribers
None
D36695.diff
View Options
diff --git a/Mk/Uses/cmake.mk b/Mk/Uses/cmake.mk
--- a/Mk/Uses/cmake.mk
+++ b/Mk/Uses/cmake.mk
@@ -79,10 +79,10 @@
-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
-DCMAKE_C_FLAGS_DEBUG:STRING="${CFLAGS}" \
- -DCMAKE_C_FLAGS_RELEASE:STRING="${CFLAGS}" \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="${CFLAGS} -DNDEBUG" \
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
-DCMAKE_CXX_FLAGS_DEBUG:STRING="${CXXFLAGS}" \
- -DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS}" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS} -DNDEBUG" \
-DCMAKE_EXE_LINKER_FLAGS:STRING="${LDFLAGS}" \
-DCMAKE_MODULE_LINKER_FLAGS:STRING="${LDFLAGS}" \
-DCMAKE_SHARED_LINKER_FLAGS:STRING="${LDFLAGS}" \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 10:37 AM (10 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16028931
Default Alt Text
D36695.diff (724 B)
Attached To
Mode
D36695: Mk/Uses/cmake.mk: Define -DNDEBUG when BUILD_TYPE is set to RELEASE
Attached
Detach File
Event Timeline
Log In to Comment