aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--configure.ac4
-rw-r--r--rpmrc.in2
3 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5a5829a..2d90e13 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- Add aarch64 config
+
Version 2.26 - 25 January 2018, by Thierry Vignaud
- define %_pkgdocdir (mga#22444)
diff --git a/configure.ac b/configure.ac
index f5ef7c3..1ebf8ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,10 @@ case "${target_cpu}" in
RPMALLARCH="mipsel mips32el mips64el"
CANONTARGETCPU=mipsel
;;
+ aarch64|arm64)
+ RPMALLARCH="aarch64 arm64"
+ CANONTARGETCPU=aarch64
+ ;;
armv4tl)
RPMALLARCH="arml armv4tl"
CANONTARGETCPU=armv4tl
diff --git a/rpmrc.in b/rpmrc.in
index 80e34c6..e493045 100644
--- a/rpmrc.in
+++ b/rpmrc.in
@@ -67,6 +67,8 @@ optflags: armv7l %{__common_cflags} -march=armv7-a -mtune=cortex-a8 -mfpu=neon -
optflags: armv7hl %{__common_cflags} -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16
optflags: armv7hnl %{__common_cflags} -march=armv7-a -mfloat-abi=hard -mfpu=neon
+optflags: aarch64 %{__common_cflags_with_ssp}
+
optflags: atarist %{__common_cflags} -fomit-frame-pointer
optflags: atariste %{__common_cflags} -fomit-frame-pointer
optflags: ataritt %{__common_cflags} -fomit-frame-pointer