build: Non-Guix build robustifications. Thanks, rain1!
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 19 Jul 2017 12:12:29 +0000 (14:12 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 26 Jul 2017 09:36:07 +0000 (11:36 +0200)
commit822d0df889fb6fa8fae50a43057e3b397201cff0
tree2764b281910188ea62a8182c0fde5e4c152ef0c6
parentb708c5de8ba29443571e5287a52241b9d62dffa9
build: Non-Guix build robustifications.  Thanks, rain1!

Fix typo in configure, gracefully switch between M0 vs M1, skip
CC32/i686-unknown-linux-gnu-gcc targets if not available, esp. for
non-Guix usage.

* configure (M1): Declare missing variable.
* make.scm (main): all-go, clean-go: New targets.
* GNUmakefile (PHONY_TARGETS): Add them.
  (.config.make): New target.
* guile/guix/make.scm (%CC32): Set to #f if not found.
  (bin.gcc): Skip if CC not set.
  (check-target?, add-target): Skip if target is not set.
GNUmakefile
configure
guile/guix/make.scm
make.scm