summaryrefslogtreecommitdiff
path: root/bin/bootstrap.py
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-09-19 14:36:02 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-09-19 14:51:23 +0200
commit5abcd4140a91236c7bda1c21ce69e76a28da7c8a (patch)
tree4766d69c258dbb1e93b33a29e97e1aa049ac0e1c /bin/bootstrap.py
parent4c218897afb963396cd3f5235c46817cd659d915 (diff)
downloadjustbuild-5abcd4140a91236c7bda1c21ce69e76a28da7c8a.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.
Diffstat (limited to 'bin/bootstrap.py')
-rwxr-xr-xbin/bootstrap.py4
1 files changed, 2 insertions, 2 deletions
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',