mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-06 10:02:18 +00:00
The package was last bumped automatically but since builds were failing for arm, the package was not uploaded to the repository.
12 lines
743 B
Diff
12 lines
743 B
Diff
--- ./cmake/compilers/Clang.cmake.orig 2025-07-09 06:18:14.037201334 +0000
|
|
+++ ./cmake/compilers/Clang.cmake 2025-07-09 06:18:52.358249559 +0000
|
|
@@ -65,7 +65,7 @@
|
|
# Clang flags to prevent compiler from optimizing out security checks
|
|
set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -Wformat -Wformat-security -Werror=format-security -fPIC $<$<NOT:$<BOOL:${EMSCRIPTEN}>>:-fstack-protector-strong>)
|
|
|
|
-if (NOT APPLE AND NOT ANDROID_PLATFORM AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
|
|
+if (NOT APPLE AND NOT ANDROID_PLATFORM AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|armv7-a")
|
|
set(TBB_LIB_COMPILE_FLAGS ${TBB_LIB_COMPILE_FLAGS} -fstack-clash-protection $<$<NOT:$<BOOL:${EMSCRIPTEN}>>:-fcf-protection=full>)
|
|
endif()
|
|
|