mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-26 05:13:07 +00:00
19 lines
851 B
Diff
19 lines
851 B
Diff
Index: llvm-toolchain-13-13.0.0~+rc2/compiler-rt/lib/scudo/standalone/CMakeLists.txt
|
|
===================================================================
|
|
--- llvm-toolchain-13-13.0.0~+rc2.orig/compiler-rt/lib/scudo/standalone/CMakeLists.txt
|
|
+++ llvm-toolchain-13-13.0.0~+rc2/compiler-rt/lib/scudo/standalone/CMakeLists.txt
|
|
@@ -123,9 +123,10 @@ if (COMPILER_RT_HAS_GWP_ASAN)
|
|
list(APPEND SCUDO_OBJECT_LIBS
|
|
RTGwpAsan RTGwpAsanBacktraceLibc RTGwpAsanSegvHandler
|
|
RTGwpAsanOptionsParser)
|
|
-
|
|
- list(APPEND SCUDO_CFLAGS -DGWP_ASAN_HOOKS -fno-omit-frame-pointer
|
|
- -mno-omit-leaf-frame-pointer)
|
|
+ if (NOT ${arch} STREQUAL "armhf" AND NOT ${arch} STREQUAL "armel")
|
|
+ list(APPEND SCUDO_CFLAGS -DGWP_ASAN_HOOKS -fno-omit-frame-pointer
|
|
+ -mno-omit-leaf-frame-pointer)
|
|
+ endif()
|
|
endif()
|
|
|
|
set(SCUDO_LINK_LIBS)
|