aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2023-04-19 19:04:19 +0200
committerbedlam <dave@slackbuilds.org>2023-05-13 13:21:34 +0100
commit20ac57b04874a38a4a1b4aa8d0fa4ec95a5605a4 (patch)
tree96462f4ccdd2c23fea8f05e0cec6943a499b3e98
parent163c610f149f0637fe6fb3f614c3f12c2c7129a7 (diff)
*.SlackBuild: Add arch specific handling for aarch6415.0
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-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=""