diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2024-05-31 11:04:09 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2024-05-31 11:08:13 +0200 |
commit | 694f565a4e6a4dcd5adf9ed4939629d94121b82a (patch) | |
tree | 7797a151f7a7735f1d7b71dabf54d0773188abd3 | |
parent | f46d872a743f346a5b34093be9770a741e25bebf (diff) | |
download | urpmi-694f565a4e6a4dcd5adf9ed4939629d94121b82a.tar urpmi-694f565a4e6a4dcd5adf9ed4939629d94121b82a.tar.gz urpmi-694f565a4e6a4dcd5adf9ed4939629d94121b82a.tar.bz2 urpmi-694f565a4e6a4dcd5adf9ed4939629d94121b82a.tar.xz urpmi-694f565a4e6a4dcd5adf9ed4939629d94121b82a.zip |
Use a more generic compiler for cpan testers
Else it fails to link on eg FreeBSD
Likewise linux32 isn't available there
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | t/data/SPECS/i586-to-i686/libfoobar.spec | 7 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,6 @@ +- testsuite: + o use a more generic compiler for cpan testers + Version 8.132 - 29 May 2023 - Set wget as default downloader (mga#24362) diff --git a/t/data/SPECS/i586-to-i686/libfoobar.spec b/t/data/SPECS/i586-to-i686/libfoobar.spec index 891d2e98..035ce9ca 100644 --- a/t/data/SPECS/i586-to-i686/libfoobar.spec +++ b/t/data/SPECS/i586-to-i686/libfoobar.spec @@ -1,5 +1,5 @@ -# rpmbuild -ba libfoobar.spec --target i586 -# rpmbuild -ba libfoobar.spec --target i686 +# linux32 rpmbuild -ba libfoobar.spec --target i586 +# linux32 rpmbuild -ba libfoobar.spec --target i686 # we could build with -static but then pkg goes up from 8.5kb to 280Kb: %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}libc.so @@ -13,7 +13,8 @@ License: x cat > t.c <<EOF void main () {} EOF -linux32 gcc -m32 -march=i586 -o t t.c +#linux32 gcc -m32 -march=i586 -o t t.c +cc -o t t.c %install mkdir -p %buildroot/%_bindir |