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-10-17 10:25:27 +0200
commit19cf0163906030deafc0a3e05476b56cc21200be (patch)
treeeb42d7e67de36fe10a812a28104b6f6f102265e1 /bin/bootstrap.py
parent138c6caba889aaf8d5cf6a9e7c9a5fce4787d33f (diff)
downloadjustbuild-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-xbin/bootstrap.py4
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',