Skip to content

Commit 9d16e79

Browse files
[AArch64] Fix COMPILER_RT_HAS_AUXV for builtins. (#84816)
COMPILER_RT_HAS_AUXV is used now in builtins so the test need to be in the builtin-config-ix.cmake too.
1 parent 939f038 commit 9d16e79

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler-rt/cmake/builtin-config-ix.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include(BuiltinTests)
2+
include(CheckIncludeFiles)
23
include(CheckCSourceCompiles)
34

45
# Make all the tests only check the compiler
@@ -43,6 +44,8 @@ void foo(void) __arm_streaming_compatible {
4344
}
4445
")
4546

47+
check_include_files("sys/auxv.h" COMPILER_RT_HAS_AUXV)
48+
4649
if(ANDROID)
4750
set(OS_NAME "Android")
4851
else()

0 commit comments

Comments
 (0)