diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-07-12 22:38:03 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-07-12 23:54:19 +0200 |
commit | e429566fbb6af2b65a144cc06902432bc87b9eae (patch) | |
tree | 59afd3296f037cc0faee278849fe98bdc128217f /guix.scm | |
parent | 6cf63fe887e81821e217db9bbd27a1d6cefff013 (diff) | |
download | guix-e429566fbb6af2b65a144cc06902432bc87b9eae.tar.gz |
build: Use '-Wshadowed-toplevel' only when supported.
* guix/build/compile.scm (supported-warning-type?): New procedure. (%warnings): Remove 'unsupported-warning', though removing it doesn't make any difference. Define 'optional', and use it to determine whether to include 'shadowed-toplevel'.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions