diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-04-11 17:04:04 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-18 12:44:10 +0200 |
commit | 0d8ffd486b5d77600cc19e6e8055f836c4571638 (patch) | |
tree | 02ae5332494e02e9c687a24c3cd57395e9e5a53b | |
parent | 72c30dce66f27877baaa78152df7da7a9659686b (diff) | |
download | justbuild-0d8ffd486b5d77600cc19e6e8055f836c4571638.tar.gz |
bootstrap: Disable -Werror for package builds
-rwxr-xr-x | bin/bootstrap.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/bootstrap.py b/bin/bootstrap.py index 42ee6a4d..e62dc85b 100755 --- a/bin/bootstrap.py +++ b/bin/bootstrap.py @@ -43,6 +43,10 @@ CONF = {} 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", []) + ARCHS = { 'i686':'x86', 'x86_64':'x86_64', |