Re: Bug#977223: guile-3.0: FTBFS on hppa - segmentation faults
Hi Rob!
The attached patch seems to work correctly. I had to escape the whole statements
so that they are not interpreted by automake.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- guile-3.0-3.0.8.orig/bootstrap/Makefile.am
+++ guile-3.0-3.0.8/bootstrap/Makefile.am
@@ -22,7 +22,11 @@
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)
include $(top_srcdir)/am/bootstrap.am
--- guile-3.0-3.0.8.orig/stage0/Makefile.am
+++ guile-3.0-3.0.8/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
Reply to: