Skip to content

Commit

Permalink
[AArch64] Fix COMPILER_RT_HAS_AUXV for builtins. (#84816)
Browse files Browse the repository at this point in the history
COMPILER_RT_HAS_AUXV is used now in builtins so the test need to be in
the builtin-config-ix.cmake too.
  • Loading branch information
DanielKristofKiss authored Mar 12, 2024
1 parent 939f038 commit 9d16e79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler-rt/cmake/builtin-config-ix.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include(BuiltinTests)
include(CheckIncludeFiles)
include(CheckCSourceCompiles)

# Make all the tests only check the compiler
Expand Down Expand Up @@ -43,6 +44,8 @@ void foo(void) __arm_streaming_compatible {
}
")

check_include_files("sys/auxv.h" COMPILER_RT_HAS_AUXV)

if(ANDROID)
set(OS_NAME "Android")
else()
Expand Down

0 comments on commit 9d16e79

Please sign in to comment.