summaryrefslogtreecommitdiffstats
path: root/t/data
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2024-05-31 11:04:09 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2024-05-31 11:08:13 +0200
commit694f565a4e6a4dcd5adf9ed4939629d94121b82a (patch)
tree7797a151f7a7735f1d7b71dabf54d0773188abd3 /t/data
parentf46d872a743f346a5b34093be9770a741e25bebf (diff)
downloadurpmi-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
Diffstat (limited to 't/data')
-rw-r--r--t/data/SPECS/i586-to-i686/libfoobar.spec7
1 files changed, 4 insertions, 3 deletions
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