]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
pth: Fix build on aarch64
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 Mar 2023 20:03:42 +0000 (20:03 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 Mar 2023 20:03:42 +0000 (20:03 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
pth/pth.nm

index 6a7c0d61099f57d802db0db9452f8ab0134a5efd..013137870b4c8b70db1bea2a017d65a8c9282a9d 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = pth
 version    = 2.0.7
-release    = 3
+release    = 3.1
 
 groups     = System/Libraries
 url        = http://www.gnu.org/software/pth
@@ -30,18 +30,8 @@ build
                --disable-static \
                --mandir=/usr/share/man
 
-       if "%{DISTRO_ARCH}" == "armv5tel"
-               configure_options += \
-                       --with-mctx-mth=sjlj \
-                       --with-mctx-dsp=ssjlj \
-                       --with-mctx-stk=sas
-       end
-
-       if "%{DISTRO_ARCH}" == "armv7hl"
-               configure_options += \
-                       --with-mctx-mth=sjlj \
-                       --with-mctx-dsp=ssjlj \
-                       --with-mctx-stk=sas
+       prepare_cmds
+               %{MACRO_FIX_AUTOTOOLS}
        end
 
        test