Optimize for present CPU on ARM.

This commit is contained in:
Marcel Keller
2025-11-03 02:16:32 +00:00
parent 383c18f1cb
commit 0f48525448
2 changed files with 2 additions and 4 deletions

4
CONFIG
View File

@@ -57,9 +57,7 @@ endif
ifeq ($(OS), Linux)
ifeq ($(ARM), 1)
ifeq ($(shell cat /proc/cpuinfo | grep -q aes; echo $$?), 0)
ARCH = -march=armv8.2-a+crypto
endif
ARCH = -mcpu=native
endif
endif

2
deps/libOTe vendored