summaryrefslogtreecommitdiffhomepage
path: root/sofort/cfgtest/cfgtest.sh
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-01-02 22:30:36 +0000
committermidipix <writeonce@midipix.org>2020-01-02 22:45:06 +0000
commit53faa0312062f43c06679a0d79a61957eb761327 (patch)
tree7b5bbb05a1b55383ceaecaa0657525798cd49cfe /sofort/cfgtest/cfgtest.sh
parent54bc8f80aa39f414998d87afc9655afe5ac40dc6 (diff)
downloadmmglue-53faa0312062f43c06679a0d79a61957eb761327.tar.bz2
mmglue-53faa0312062f43c06679a0d79a61957eb761327.tar.xz
build system: cfgtest_target_section(): use vars directly.
Diffstat (limited to 'sofort/cfgtest/cfgtest.sh')
-rw-r--r--sofort/cfgtest/cfgtest.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/sofort/cfgtest/cfgtest.sh b/sofort/cfgtest/cfgtest.sh
index d1e3b1b..fc0d6ee 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'