From c5c559e39170699c08acc4688b5a767597740991 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 2 Jan 2020 22:30:36 +0000 Subject: build system: cfgtest_target_section(): use vars directly. --- sofort/cfgtest/cfgtest.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sofort/cfgtest/cfgtest.sh b/sofort/cfgtest/cfgtest.sh index 24d311f..ba55ba9 100644 --- a/sofort/cfgtest/cfgtest.sh +++ b/sofort/cfgtest/cfgtest.sh @@ -34,8 +34,15 @@ cfgtest_comment() cfgtest_target_section() { - mb_cfgtest_cc=$(make -s -f "$mb_pwd/Makefile.tmp" .display-cc) - mb_cfgtest_cflags=$(make -s -f "$mb_pwd/Makefile.tmp" .display-cflags) + mb_cfgtest_cflags= + mb_cfgtest_cflags="$mb_cfgtest_cflags $mb_cflags_debug $mb_cflags_config" + mb_cfgtest_cflags="$mb_cfgtest_cflags $mb_cflags_sysroot $mb_cflags_common" + mb_cfgtest_cflags="$mb_cfgtest_cflags $mb_cflags_cmdline $mb_cflags" + mb_cfgtest_cflags="$mb_cfgtest_cflags $mb_cflags_path $mb_cflags_os" + mb_cfgtest_cflags="$mb_cfgtest_cflags $mb_cflags_site $mb_cflags_strict" + mb_cfgtest_cflags="$mb_cfgtest_cflags $mb_cflags_last $mb_cflags_once" + + mb_cfgtest_cc="$ccenv_host_cc" mb_cfgtest_cfgtype='target' cfgtest_comment 'target-specific tests' -- cgit v1.2.3