Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115312
D5148.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
578 B
Subscribers
None
D5148.diff
View Options
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -79,7 +79,9 @@
# All versions of gcc that we commonly use for building are subject to bug
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348. To work around that, set
# -fstack-reuse=none for all gcc builds. (Only gcc understands this flag)
-add_compiler_flags(-fstack-reuse=none)
+if(NOT ENABLE_CLANG_TIDY)
+ add_compiler_flags(-fstack-reuse=none)
+endif()
# Ensure that WINDRES_PREPROC is enabled when using windres.
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 1, 10:48 (11 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187396
Default Alt Text
D5148.diff (578 B)
Attached To
D5148: [CMAKE] Fix incompatibility between clang-tidy and -fstack-reuse
Event Timeline
Log In to Comment