diff options
author | midipix <writeonce@midipix.org> | 2021-06-04 19:38:08 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-04 19:53:07 +0000 |
commit | 4f9e7bb99628b16c100287a3538cc0aa351cff57 (patch) | |
tree | 44069c73ce411b043995e6cf8748508c076fb26a /configure | |
parent | aac228cf16dfbf2c2d6f7afac3ffdb7475872bac (diff) | |
download | mdso-4f9e7bb99628b16c100287a3538cc0aa351cff57.tar.bz2 mdso-4f9e7bb99628b16c100287a3538cc0aa351cff57.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 |