Skip to content

Commit

Permalink
cmake: format
Browse files Browse the repository at this point in the history
  • Loading branch information
fw-immunant committed Dec 11, 2024
1 parent ae03452 commit 7bc13ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmake/ia2.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if (LIBIA2_AARCH64)
set(UBSAN_FLAG "")
set(UBSAN_FLAG "")
else()
set(UBSAN_FLAG "-fsanitize=undefined")
set(UBSAN_FLAG "-fsanitize=undefined")
endif()
# Creates a compartmentalized IA2 target
#
Expand Down Expand Up @@ -276,7 +276,7 @@ function(add_ia2_call_gates NAME)
# default to --as-needed so this is needed to fix some runtime ld.so lookup
# error
if (LIBIA2_AARCH64)
target_link_options(${target} PRIVATE "-Wl,--no-as-needed")
target_link_options(${target} PRIVATE "-Wl,--no-as-needed")
endif()
target_link_libraries(${target} PRIVATE ${CALL_GATE_TARGET})

Expand All @@ -289,9 +289,9 @@ function(add_ia2_call_gates NAME)
endforeach()

if (LIBIA2_AARCH64)
set(ARCH_FLAG "--arch=aarch64")
set(ARCH_FLAG "--arch=aarch64")
else()
set(SYSROOT_FLAG
set(SYSROOT_FLAG
--extra-arg=-isystem "--extra-arg=${CLANG_HEADERS_INCLUDE}"
--extra-arg=-isystem "--extra-arg=${CLANG_HEADERS_INCLUDE_FIXED}")
endif()
Expand Down

0 comments on commit 7bc13ea

Please sign in to comment.