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 1b7ef61 commit 4cc32e6Copy full SHA for 4cc32e6
llvm/cmake/modules/AddSecurityFlags.cmake
@@ -31,7 +31,7 @@ macro(add_link_option_ext flag name)
31
endif()
32
endmacro()
33
34
-function(append_common_extra_security_flags)
+macro(append_common_extra_security_flags)
35
if( LLVM_ON_UNIX )
36
# Fortify Source (strongly recommended):
37
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
@@ -70,7 +70,7 @@ function(append_common_extra_security_flags)
70
CMAKE_EXE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS
71
CMAKE_SHARED_LINKER_FLAGS)
72
73
-endfunction()
+endmacro()
74
75
if ( EXTRA_SECURITY_FLAGS )
76
if (EXTRA_SECURITY_FLAGS STREQUAL "none")
0 commit comments