mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 11:25:22 -05:00
6ba510d76d
* gnu/packages/patches/libtool-skip-tests2.patch: Adjust to add riscv to skipped nopic tests.
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
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:535: 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:535"
|
|
( $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*)
|