summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/libtool-skip-tests2.patch
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-10-30 16:19:54 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-10-30 16:19:54 +0900
commit902127d92b67fb25337dc25599159bf47fe09e7c (patch)
tree6127e7e67607067f1da15b8a7f7dd92de8e51c0d /gnu/packages/patches/libtool-skip-tests2.patch
parent8593227f4068cf3b68384e634921b3414fd052d0 (diff)
Revert "gnu: libtool: Update to 2.5.4."
This reverts commit da8179893fca7ef765817699e9b9c4245f44079d.
Diffstat (limited to 'gnu/packages/patches/libtool-skip-tests2.patch')
-rw-r--r--gnu/packages/patches/libtool-skip-tests2.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/patches/libtool-skip-tests2.patch b/gnu/packages/patches/libtool-skip-tests2.patch
new file mode 100644
index 00000000000..91beaa903ee
--- /dev/null
+++ b/gnu/packages/patches/libtool-skip-tests2.patch
@@ -0,0 +1,33 @@
+Skip the nopic test on ARM, MIPS and RISC-V systems.
+
+--- libtool-2.4.6/tests/demo.at.orig 2015-01-16 13:52:04.000000000 -0500
++++ libtool-2.4.6/tests/demo.at 2015-02-16 10:48:51.435851966 -0500
+@@ -510,7 +510,7 @@
+ AT_SETUP([force non-PIC objects])
+
+ AT_CHECK([case $host in
+-hppa*|x86_64*|s390*)
++hppa*|x86_64*|s390*|arm*|mips*|riscv*)
+ # These hosts cannot use non-PIC shared libs
+ exit 77 ;;
+ *-solaris*|*-sunos*)
+--- libtool-2.4.6/tests/testsuite.orig 2015-02-15 11:15:25.000000000 -0500
++++ libtool-2.4.6/tests/testsuite 2015-02-16 10:50:58.736483216 -0500
+@@ -8741,7 +8741,7 @@
+
+ { set +x
+ $as_echo "$at_srcdir/demo.at:513: case \$host in
+-hppa*|x86_64*|s390*)
++hppa*|x86_64*|s390*|arm*|mips*|riscv*)
+ # These hosts cannot use non-PIC shared libs
+ exit 77 ;;
+ *-solaris*|*-sunos*)
+@@ -8766,7 +8766,7 @@
+ "
+ at_fn_check_prepare_notrace 'a `...` command substitution' "demo.at:513"
+ ( $at_check_trace; case $host in
+-hppa*|x86_64*|s390*)
++hppa*|x86_64*|s390*|arm*|mips*|riscv*)
+ # These hosts cannot use non-PIC shared libs
+ exit 77 ;;
+ *-solaris*|*-sunos*)