1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 09:37:08 +00:00
termux-packages/disabled-packages/kphp/cmake-init-compilation-flags.cmake.patch
Tee KOBAYASHI 1bbe66e98a kphp: Disabled
Incompatible with latest libuber-h3. A whole bunch of patches are quite
unmaintainable.

kphp-timelib is also disabled as only kphp depends on it.
2022-11-17 18:08:03 +00:00

16 lines
645 B
Diff

--- a/cmake/init-compilation-flags.cmake
+++ b/cmake/init-compilation-flags.cmake
@@ -80,9 +80,11 @@
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
add_compile_options(-march=sandybridge -fno-common)
add_link_options(-fno-common)
+elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
+ add_compile_options(-march=armv8-a+crc+aes)
endif()
-add_compile_options(-Werror -Wall -Wextra -Wunused-function -Wfloat-conversion -Wno-sign-compare
+add_compile_options(-Wall -Wextra -Wunused-function -Wfloat-conversion -Wno-sign-compare
-Wuninitialized -Wno-redundant-move -Wno-missing-field-initializers)
if(NOT APPLE)