diff options
author | midipix <writeonce@midipix.org> | 2024-02-22 05:32:33 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-22 05:35:57 +0000 |
commit | 180f9e36900817c6aa32fb18cd7218b20648cac7 (patch) | |
tree | e92711b2acc028c9ae5c6cf4e590bc4a38e9acf5 | |
parent | 0d2520dd3e1fdbe774a91c490b7d36e59ac08594 (diff) | |
download | sbpython3-180f9e36900817c6aa32fb18cd7218b20648cac7.tar.bz2 sbpython3-180f9e36900817c6aa32fb18cd7218b20648cac7.tar.xz |
build system: if supported, add -Wpedantic to --strict cflags.
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | sofort/ccenv/ccswitch.strs | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -718,7 +718,7 @@ config_flags() # ccstrict if [ _$mb_ccstrict = _yes ]; then - mb_cflags_strict='$(_CFLAGS_Wall) $(_CFLAGS_Werror) $(_CFLAGS_Wextra) $(_CFLAGS_Wundef)' + mb_cflags_strict='$(_CFLAGS_Wall) $(_CFLAGS_Werror) $(_CFLAGS_Wextra) $(_CFLAGS_Wundef) $(_CFLAGS_Wpedantic)' fi # ldstrict diff --git a/sofort/ccenv/ccswitch.strs b/sofort/ccenv/ccswitch.strs index 0a76f03..277e02e 100644 --- a/sofort/ccenv/ccswitch.strs +++ b/sofort/ccenv/ccswitch.strs @@ -34,6 +34,7 @@ -Werror -Wextra -Wundef +-Wpedantic # debugging -g |