From 8bc3d84ce5f2a49b2de57daca3390c202a2cf1a7 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 28 Jun 2021 21:00:02 +0200 Subject: [PATCH] - switch CORO_INTERFACE to setjmp on x32 (asm fails tests); release 2 --- perl-Coro.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/perl-Coro.spec b/perl-Coro.spec index 4ef2de9..e609fd0 100644 --- a/perl-Coro.spec +++ b/perl-Coro.spec @@ -8,7 +8,7 @@ Summary: Coro - do events the coro-way Summary(pl.UTF-8): Coro - obsługa zdarzeń na sposób coro Name: perl-Coro Version: 6.57 -Release: 1 +Release: 2 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl @@ -57,7 +57,12 @@ wątkowych programów. %{__sed} -i "s^/opt/bin/perl^%{_bindir}/perl^" Coro/jit*pl %build -echo "y" | %{__perl} Makefile.PL \ +# CORO_INTERFACE: use setjmp on x32 (asm fails tests) +echo "y" | \ +%ifarch x32 + CORO_INTERFACE=s \ +%endif +%{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} \ CC="%{__cc}" \ -- 2.44.0