Accepting request 959794 from home:glaubitz:branches:devel:languages:misc
- 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 OBS-URL: https://build.opensuse.org/request/show/959794 OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile?expand=0&rev=122
This commit is contained in:
parent
c3cdae7350
commit
0cfc7ac2ed
16
adjust-32bit-big-endian-build-flags.patch
Normal file
16
adjust-32bit-big-endian-build-flags.patch
Normal 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
|
@ -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>
|
Thu Feb 24 18:24:20 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ Patch0: guile-3.0-gc_pkgconfig_private.patch
|
|||||||
# The out-of-memory test is flaky, so disable it
|
# The out-of-memory test is flaky, so disable it
|
||||||
Patch1: disable-test-out-of-memory.patch
|
Patch1: disable-test-out-of-memory.patch
|
||||||
Patch2: gcc10-x86-disable-one-test.patch
|
Patch2: gcc10-x86-disable-one-test.patch
|
||||||
|
Patch3: adjust-32bit-big-endian-build-flags.patch
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
BuildRequires: libltdl-devel
|
BuildRequires: libltdl-devel
|
||||||
@ -103,6 +104,7 @@ linked in as a library when building extensible programs.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
# remove broken prebuilt objects
|
# remove broken prebuilt objects
|
||||||
rm -r prebuilt/32-bit-big-endian
|
rm -r prebuilt/32-bit-big-endian
|
||||||
@ -113,6 +115,7 @@ echo exit 77 > test-suite/standalone/test-stack-overflow
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
aclocal
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
|
Loading…
Reference in New Issue
Block a user