From 19cf0163906030deafc0a3e05476b56cc21200be Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 19 Sep 2023 14:36:02 +0200 Subject: 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) --- bin/bootstrap.py | 4 ++-- 1 file 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', -- cgit v1.2.3