Jasinsky commented on code in PR #13347: URL: https://github.com/apache/nuttx/pull/13347#discussion_r1751278168
########## mm/kasan/CMakeLists.txt: ########## @@ -19,7 +19,11 @@ # ############################################################################## if(CONFIG_MM_KASAN) target_sources(mm PRIVATE kasan.c) - set_source_files_properties(kasan.c PROPERTIES COMPILE_FLAGS - -fno-sanitize=kernel-address) - set_source_files_properties(kasan.c PROPERTIES COMPILE_FLAGS -fno-lto) + + target_compile_options(mm PRIVATE -fno-sanitize=kernel-address) + + if(NOT CONFIG_LTO_NONE) Review Comment: e.g. https://github.com/search?q=repo%3Aapache%2Fnuttx%20CONFIG_LTO_NONE&type=code -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
