SHA256
1
0
forked from pool/guile

Accepting request 961630 from devel:languages:misc

OBS-URL: https://build.opensuse.org/request/show/961630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/guile?expand=0&rev=67
This commit is contained in:
Dominique Leuenberger 2022-03-15 18:03:44 +00:00 committed by Git OBS Bridge
commit 4425df3d11
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,16 @@
--- a/stage0/Makefile.am
+++ b/stage0/Makefile.am
@@ -22,7 +22,12 @@
GUILE_WARNINGS = -W0
-GUILE_OPTIMIZATIONS = -O1
+$(ifeq($SCM_PREBUILT_BINARIES,"32-bit-little-endian") \
+ GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives -Ocps \
+else \
+ GUILE_OPTIMIZATIONS = -O1 \
+endif)
+
GUILE_BOOTSTRAP_STAGE = stage0
include $(top_srcdir)/am/bootstrap.am

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 7 07:28:50 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Add patch to fix build on 32-bit big-endian targets
* adjust-32bit-big-endian-build-flags.patch
- Run aclocal before %configure to regenerate aclocal.m4
-------------------------------------------------------------------
Thu Feb 24 18:24:20 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -39,6 +39,7 @@ Patch0: guile-3.0-gc_pkgconfig_private.patch
# The out-of-memory test is flaky, so disable it
Patch1: disable-test-out-of-memory.patch
Patch2: gcc10-x86-disable-one-test.patch
Patch3: adjust-32bit-big-endian-build-flags.patch
BuildRequires: gmp-devel
BuildRequires: libffi-devel
BuildRequires: libltdl-devel
@ -103,6 +104,7 @@ linked in as a library when building extensible programs.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
# remove broken prebuilt objects
rm -r prebuilt/32-bit-big-endian
@ -113,6 +115,7 @@ echo exit 77 > test-suite/standalone/test-stack-overflow
%endif
%build
aclocal
%configure \
--disable-static \
--with-pic \