We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 231fca3 commit 4573439Copy full SHA for 4573439
1 file changed
misc/minicern/CMakeLists.txt
@@ -12,9 +12,6 @@ ROOT_LINKER_LIBRARY(minicern *.c *.f TYPE STATIC)
12
set_property(TARGET minicern PROPERTY POSITION_INDEPENDENT_CODE ON)
13
target_link_libraries(minicern ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
14
15
-# Disable optimization since it some cases was causing crashes.
16
# Disable warnings, since what has worked for 40 years...
17
# (see https://sft.its.cern.ch/jira/browse/ROOT-9179 for the warnings)
18
-set_target_properties(minicern PROPERTIES COMPILE_FLAGS "-O0 -w")
19
-# set_target_properties(minicern PROPERTIES COMPILE_FLAGS "-fsanitize=undefined -fsanitize=address")
20
-# target_link_options(minicern BEFORE PUBLIC -fsanitize=undefined PUBLIC -fsanitize=address)
+target_compile_options(minicern PRIVATE "-w")
0 commit comments