File tree 2 files changed +2
-15
lines changed 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)
134
134
endif ()
135
135
endif ()
136
136
endfunction ()
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\");
41
41
asm(\" cas w0, w1, [x2]\" );
42
42
" )
43
43
44
- builtin_check_c_compiler_source_with_flags (COMPILER_RT_HAS_AARCH64_SME
44
+ builtin_check_c_compiler_source (COMPILER_RT_HAS_AARCH64_SME
45
45
"
46
46
void foo(void) __arm_streaming_compatible {
47
47
asm(\" .arch armv9-a+sme2\\ n\"
48
48
\" smstart\\ n\"
49
49
\" ldr zt0, [sp]\" );
50
50
}
51
- " "-target aarch64-linux-gnu" )
51
+ " )
52
52
53
53
check_include_files("sys/auxv.h" COMPILER_RT_HAS_AUXV)
54
54
You can’t perform that action at this time.
0 commit comments