Page MenuHomePhabricator

D5148.diff
No OneTemporary

D5148.diff

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

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)

Event Timeline