guile/adjust-32bit-big-endian-build-flags.patch
2022-03-22 06:15:45 +00:00

12 lines
308 B
Diff

--- a/stage0/Makefile.am
+++ b/stage0/Makefile.am
@@ -22,7 +22,7 @@
GUILE_WARNINGS = -W0
-GUILE_OPTIMIZATIONS = -O1
+GUILE_OPTIMIZATIONS = -O1 $(if $(filter 32-bit-big-endian, $(SCM_PREBUILT_BINARIES)),-Oresolve-primitives -Ocps)
GUILE_BOOTSTRAP_STAGE = stage0
include $(top_srcdir)/am/bootstrap.am