File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -134,16 +134,3 @@ function(builtin_check_c_compiler_source output source)
134134 endif ()
135135 endif ()
136136endfunction ()
137-
138- function (builtin_check_c_compiler_source_with_flags output source flags )
139- if (NOT DEFINED ${output} )
140- message (STATUS "Performing Test ${output} " )
141- try_compile_only(result SOURCE ${source} FLAGS ${flags} )
142- set (${output} ${result} CACHE INTERNAL "Compiler supports ${output} with ${flags} " )
143- if (${result} )
144- message (STATUS "Performing Test ${output} - Success" )
145- else ()
146- message (STATUS "Performing Test ${output} - Failed" )
147- endif ()
148- endif ()
149- endfunction ()
Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ asm(\".arch armv8-a+lse\");
4141asm(\" cas w0, w1, [x2]\" );
4242" )
4343
44- builtin_check_c_compiler_source_with_flags (COMPILER_RT_HAS_AARCH64_SME
44+ builtin_check_c_compiler_source (COMPILER_RT_HAS_AARCH64_SME
4545"
4646void foo(void) __arm_streaming_compatible {
4747 asm(\" .arch armv9-a+sme2\\ n\"
4848 \" smstart\\ n\"
4949 \" ldr zt0, [sp]\" );
5050}
51- " "-target aarch64-linux-gnu" )
51+ " )
5252
5353check_include_files("sys/auxv.h" COMPILER_RT_HAS_AUXV)
5454
You can’t perform that action at this time.
0 commit comments