diff options
author | midipix <writeonce@midipix.org> | 2021-06-04 19:38:08 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-04 19:53:05 +0000 |
commit | a1f187d65512fdc9b6dc3e62366a4a105c599225 (patch) | |
tree | be1e781e643202cca89b5ffaf8f8581831d35b9b | |
parent | 294fff2be94dcaa16f95ea82e8653a34d49e1609 (diff) | |
download | bautomake-a1f187d65512fdc9b6dc3e62366a4a105c599225.tar.bz2 bautomake-a1f187d65512fdc9b6dc3e62366a4a105c599225.tar.xz |
build system: configure: config_flags(): abstract the --strict cflags, ldflags.
-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 |