diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2024-01-10 12:09:51 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2024-01-10 13:18:55 +0100 |
commit | 19faf1fa1f5aff4854377824e6d4a8b9c0c09032 (patch) | |
tree | 043593c27498473e133795295cdb62bac17121f9 /etc/defaults/CC | |
parent | 816d0f68b162ec7096442a60d6f818ae45383e76 (diff) | |
download | bootstrappable-toolchain-19faf1fa1f5aff4854377824e6d4a8b9c0c09032.tar.gz |
Introduce and honor BOOTSTRAP_CFLAGS
... and drop rule-injected LDFLAGS for all bootstrap targets
in stage-0, as those flags might not be supported by the
unknown bootstrap compiler.
Diffstat (limited to 'etc/defaults/CC')
-rw-r--r-- | etc/defaults/CC/stage-0.TARGETS | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/defaults/CC/stage-0.TARGETS b/etc/defaults/CC/stage-0.TARGETS index f58d2bf..0877ffd 100644 --- a/etc/defaults/CC/stage-0.TARGETS +++ b/etc/defaults/CC/stage-0.TARGETS @@ -12,6 +12,16 @@ , "default": "cc" } ] + , "CFLAGS": + { "type": "lookup" + , "map": + { "type": "var" + , "name": "TOOLCHAIN_CONFIG" + , "default": {"type": "empty_map"} + } + , "key": "BOOTSTRAP_CFLAGS" + , "default": ["-w"] + } , "PATH": { "type": "lookup" , "map": |