diff options
author | Andy Wingo <wingo@pobox.com> | 2018-01-05 17:44:00 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2018-01-05 17:47:46 +0100 |
commit | fa4cb2182dfa6461075c784cc388829adffdbc6a (patch) | |
tree | 82e1776f18a616c2bd383c3e9ecf21f104680b51 /bootstrap | |
parent | 7486806ba3981df0a862054054fee2f41731329f (diff) | |
download | guile-fa4cb2182dfa6461075c784cc388829adffdbc6a.tar.gz |
Add resolve-primitives pass back to bootstrap
* bootstrap/Makefile.am (GUILE_OPTIMIZATIONS): Blah, add
-Oresolve-primitives.
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bootstrap/Makefile.am b/bootstrap/Makefile.am index 496d5301a..57b62eb56 100644 --- a/bootstrap/Makefile.am +++ b/bootstrap/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in. ## ## Copyright (C) 2009, 2010, 2011, 2012, 2013, -## 2014, 2015 Free Software Foundation, Inc. +## 2014, 2015, 2018 Free Software Foundation, Inc. ## ## This file is part of GUILE. ## @@ -22,7 +22,12 @@ GUILE_WARNINGS = -GUILE_OPTIMIZATIONS = -O1 +# Loading eval.go happens before boot and therefore before modules are +# resolved. For some reason if compiled without resolve-primitives, +# attempts to resolve primitives at boot fail; weird. Should fix this +# but in the meantime we turn on primitive resolution (which normally +# only happens at -O2). +GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives include $(top_srcdir)/am/bootstrap.am |