summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-04 19:38:08 +0000
committermidipix <writeonce@midipix.org>2021-06-04 19:53:09 +0000
commit2e3ac6522c2f20ca6af504d1fdf7b241b04212d9 (patch)
tree7220588227964185e00715928f72b51c0a74dff5 /configure
parent4a15655fb1e24c3c0b11fce4c1e1b3f9b7c3b1fe (diff)
downloadntcon-2e3ac6522c2f20ca6af504d1fdf7b241b04212d9.tar.bz2
ntcon-2e3ac6522c2f20ca6af504d1fdf7b241b04212d9.tar.xz
build system: configure: config_flags(): abstract the --strict cflags, ldflags.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index d3e3c7d..9c7a6b2 100755
--- a/configure
+++ b/configure
@@ -688,12 +688,12 @@ config_flags()
# ccstrict
if [ _$mb_ccstrict = _yes ]; then
- mb_cflags_strict='-Wall -Werror -Wextra -Wundef'
+ mb_cflags_strict='$(_CFLAGS_Wall) $(_CFLAGS_Werror) $(_CFLAGS_Wextra) $(_CFLAGS_Wundef)'
fi
# ldstrict
if [ _$mb_ldstrict = _yes ]; then
- mb_ldflags_strict='-Wl,--no-undefined'
+ mb_ldflags_strict='$(_CFLAGS_Wl___no_undefined)'
fi
# step epilog