summaryrefslogtreecommitdiffhomepage
path: root/sofort
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-19 09:31:10 +0000
committermidipix <writeonce@midipix.org>2021-04-19 09:32:52 +0000
commitd82279a7953dc0b33b7e4eae3bb8e2adabe9c9bc (patch)
treef1d453cf954e4e1e4e00a1fb8fc6484340908aaa /sofort
parent61c4d5e0b8b3646a2b5d9e5212a520a9a5d530dd (diff)
downloadmmglue-d82279a7953dc0b33b7e4eae3bb8e2adabe9c9bc.tar.bz2
mmglue-d82279a7953dc0b33b7e4eae3bb8e2adabe9c9bc.tar.xz
build system: cfgtest: properly call make's informational config-time targets.
Diffstat (limited to 'sofort')
-rw-r--r--sofort/cfgtest/cfgtest.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/sofort/cfgtest/cfgtest.sh b/sofort/cfgtest/cfgtest.sh
index f030cd3..233cb2f 100644
--- a/sofort/cfgtest/cfgtest.sh
+++ b/sofort/cfgtest/cfgtest.sh
@@ -38,7 +38,8 @@ cfgtest_host_section()
{
mb_cfgtest_cc="$ccenv_host_cc"
mb_cfgtest_cfgtype='host'
- mb_cfgtest_cflags=$(make -s -f "$mb_pwd/Makefile.tmp" .cflags-host)
+ mb_cfgtest_cflags=$(${mb_make} -n -f "$mb_pwd/Makefile.tmp" .cflags-host)
+ mb_cfgtest_cflags="${mb_cfgtest_cflags#*: }"
mb_cfgtest_ldflags="$mb_ldflags_cmdline"
mb_cfgtest_ldflags="$mb_cfgtest_ldflags $mb_ldflags_debug"
@@ -57,7 +58,8 @@ cfgtest_native_section()
{
mb_cfgtest_cc="$mb_native_cc"
mb_cfgtest_cfgtype='native'
- mb_cfgtest_cflags=$(make -s -f "$mb_pwd/Makefile.tmp" .cflags-native)
+ mb_cfgtest_cflags=$(${mb_make} -n -f "$mb_pwd/Makefile.tmp" .cflags-native)
+ mb_cfgtest_cflags="${mb_cfgtest_cflags#*: }"
mb_cfgtest_ldflags="$mb_native_ldflags"
cfgtest_comment 'native system tests'