From 5abcd4140a91236c7bda1c21ce69e76a28da7c8a 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. --- bin/bootstrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/bootstrap.py') diff --git a/bin/bootstrap.py b/bin/bootstrap.py index 3ccbb2bd..9f076c57 100755 --- a/bin/bootstrap.py +++ b/bin/bootstrap.py @@ -49,8 +49,8 @@ if 'JUST_BUILD_CONF' in os.environ: g_CONF = json.loads(os.environ['JUST_BUILD_CONF']) if "PACKAGE" in os.environ: - g_CONF["ADD_CFLAGS"] = ["-Wno-error"] + g_CONF.get("ADD_CFLAGS", []) - g_CONF["ADD_CXXFLAGS"] = ["-Wno-error"] + g_CONF.get("ADD_CXXFLAGS", []) + g_CONF["ADD_CFLAGS"] = ["-Wno-error", "-Wno-pedantic"] + g_CONF.get("ADD_CFLAGS", []) + g_CONF["ADD_CXXFLAGS"] = ["-Wno-error", "-Wno-pedantic"] + g_CONF.get("ADD_CXXFLAGS", []) ARCHS: Dict[str, str] = { 'i686': 'x86', -- cgit v1.2.3