aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autotools-template.SlackBuild3
-rw-r--r--cmake-template.SlackBuild3
-rw-r--r--haskell-template.SlackBuild3
-rw-r--r--meson-template.SlackBuild3
-rw-r--r--perl-template.SlackBuild3
-rw-r--r--python-template.SlackBuild3
-rw-r--r--rubygem-template.SlackBuild3
7 files changed, 21 insertions, 0 deletions
diff --git a/autotools-template.SlackBuild b/autotools-template.SlackBuild
index 59ec634..af48409 100644
--- a/autotools-template.SlackBuild
+++ b/autotools-template.SlackBuild
@@ -87,6 +87,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
diff --git a/cmake-template.SlackBuild b/cmake-template.SlackBuild
index 66f52f1..adfc467 100644
--- a/cmake-template.SlackBuild
+++ b/cmake-template.SlackBuild
@@ -87,6 +87,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
diff --git a/haskell-template.SlackBuild b/haskell-template.SlackBuild
index 764511a..9e48029 100644
--- a/haskell-template.SlackBuild
+++ b/haskell-template.SlackBuild
@@ -91,6 +91,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
diff --git a/meson-template.SlackBuild b/meson-template.SlackBuild
index 598373d..645d06f 100644
--- a/meson-template.SlackBuild
+++ b/meson-template.SlackBuild
@@ -87,6 +87,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
diff --git a/perl-template.SlackBuild b/perl-template.SlackBuild
index 88aa177..5cf7888 100644
--- a/perl-template.SlackBuild
+++ b/perl-template.SlackBuild
@@ -89,6 +89,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
diff --git a/python-template.SlackBuild b/python-template.SlackBuild
index 898e1ca..a0b98eb 100644
--- a/python-template.SlackBuild
+++ b/python-template.SlackBuild
@@ -87,6 +87,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
diff --git a/rubygem-template.SlackBuild b/rubygem-template.SlackBuild
index b4fbdb0..bfff7d0 100644
--- a/rubygem-template.SlackBuild
+++ b/rubygem-template.SlackBuild
@@ -89,6 +89,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""