diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-09-19 14:36:02 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-10-17 10:25:27 +0200 |
commit | 19cf0163906030deafc0a3e05476b56cc21200be (patch) | |
tree | eb42d7e67de36fe10a812a28104b6f6f102265e1 /bin/bootstrap.py | |
parent | 138c6caba889aaf8d5cf6a9e7c9a5fce4787d33f (diff) | |
download | justbuild-19cf0163906030deafc0a3e05476b56cc21200be.tar.gz |
bootstrap: for package builds use -Wno-pedantic
... as well as the already present -Wno-error. In this way,
packagebuilding should work out of the box on more systems.
(cherry-picked from 5abcd4140a91236c7bda1c21ce69e76a28da7c8a)
Diffstat (limited to 'bin/bootstrap.py')
-rwxr-xr-x | bin/bootstrap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bootstrap.py b/bin/bootstrap.py index 654f931f..80d3dfb3 100755 --- a/bin/bootstrap.py +++ b/bin/bootstrap.py @@ -44,8 +44,8 @@ if 'JUST_BUILD_CONF' in os.environ: CONF = json.loads(os.environ['JUST_BUILD_CONF']) if "PACKAGE" in os.environ: - CONF["ADD_CFLAGS"] = ["-Wno-error"] + CONF.get("ADD_CFLAGS", []) - CONF["ADD_CXXFLAGS"] = ["-Wno-error"] + CONF.get("ADD_CXXFLAGS", []) + CONF["ADD_CFLAGS"] = ["-Wno-error", "-Wno-pedantic"] + CONF.get("ADD_CFLAGS", []) + CONF["ADD_CXXFLAGS"] = ["-Wno-error", "-Wno-pedantic"] + CONF.get("ADD_CXXFLAGS", []) ARCHS = { 'i686':'x86', |