diff options
author | midipix <writeonce@midipix.org> | 2021-06-04 19:38:08 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-04 19:53:09 +0000 |
commit | 7c416c882b4e132583cf0694eef99f60e3d6d91d (patch) | |
tree | 4ce81b692f1eda7517027b3cd67f8f48752e2637 /configure | |
parent | f52f9972c8c23547ee5210383f88de93056c58b2 (diff) | |
download | ntux-7c416c882b4e132583cf0694eef99f60e3d6d91d.tar.bz2 ntux-7c416c882b4e132583cf0694eef99f60e3d6d91d.tar.xz |
build system: configure: config_flags(): abstract the --strict cflags, ldflags.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |