aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-04 16:20:48 +0200
committerMattias Andrée <m@maandree.se>2026-05-04 16:20:48 +0200
commit9ae5bd9581e8dfd42b0a6c65e1b69d26bad313a4 (patch)
tree34e5c9c93c37e5fb4c22d525b0ef8465684fadc5
parentFix aarch64 support (diff)
downloadlibsha2-9ae5bd9581e8dfd42b0a6c65e1b69d26bad313a4.tar.gz
libsha2-9ae5bd9581e8dfd42b0a6c65e1b69d26bad313a4.tar.bz2
libsha2-9ae5bd9581e8dfd42b0a6c65e1b69d26bad313a4.tar.xz
Fix config-armv8.mkHEAD1.1.4.1master
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--config-armv8.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/config-armv8.mk b/config-armv8.mk
index c98fd0e..ddda52a 100644
--- a/config-armv8.mk
+++ b/config-armv8.mk
@@ -4,7 +4,10 @@ MANPREFIX = $(PREFIX)/share/man
CC = cc -std=c11
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CFLAGS = -Wall -O3 -march=armv8-a+crypto
+CFLAGS = -Wall -O3 -march=native
+# If you cannot use -march=native, you should do e.g -march=armv8-a+crypto
+# however, you have to be careful selecting the exact version,
+# so you may have to replace armv8-a with something else.
LDFLAGS = -s
# You can add -DALLOCA_LIMIT=# to CPPFLAGS, where # is a size_t