diff options
author | midipix <writeonce@midipix.org> | 2021-04-18 21:13:57 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-18 21:16:28 +0000 |
commit | c845787a3a6a77f984cc44f10cb6679a1b6b932a (patch) | |
tree | 3275fcd01bf3e3199306fcbe6d48e821fae960e1 | |
parent | 4a5ee25571c6b88126b5a039c9457779083454f2 (diff) | |
download | ntux-c845787a3a6a77f984cc44f10cb6679a1b6b932a.tar.bz2 ntux-c845787a3a6a77f984cc44f10cb6679a1b6b932a.tar.xz |
build system: purify rules for informational config-time targets.
-rw-r--r-- | Makefile.in | 4 | ||||
-rw-r--r-- | sofort/ccenv/ccenv.sh | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index cbec844..49ee097 100644 --- a/Makefile.in +++ b/Makefile.in @@ -144,10 +144,10 @@ install-extras: install-app-extras: .cflags-host: - @printf '%s' "$(CFLAGS)" + @true : $(CFLAGS) .cflags-native: - @printf '%s' "$(NATIVE_CFLAGS)" + @true : $(NATIVE_CFLAGS) include ./ccenv/host.mk diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index 8a7c4f2..9ed5b99 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -1390,12 +1390,14 @@ ccenv_common_init() if [ $ccenv_cfgtype = 'host' ]; then ccenv_tflags= - ccenv_cflags=$(${mb_make} -s -f "$mb_pwd/Makefile.tmp" \ + ccenv_cflags=$(${mb_make} -n -f "$mb_pwd/Makefile.tmp" \ OS_DSO_EXRULES=default \ OS_SONAME=symlink \ OS_ARCHIVE_EXT='.a' \ .cflags-host) + ccenv_cflags="${ccenv_cflags#*: }" + ccenv_cc="$mb_user_cc" ccenv_cpp="$mb_user_cpp" ccenv_cxx="$mb_user_cxx" @@ -1404,12 +1406,14 @@ ccenv_common_init() ccenv_pe_image_base="$mb_pe_image_base" else ccenv_tflags= - ccenv_cflags=$(${mb_make} -s -f "$mb_pwd/Makefile.tmp" \ + ccenv_cflags=$(${mb_make} -n -f "$mb_pwd/Makefile.tmp" \ OS_DSO_EXRULES=default \ OS_SONAME=symlink \ OS_ARCHIVE_EXT='.a' \ .cflags-native) + ccenv_cflags="${ccenv_cflags#*: }" + ccenv_cc="$mb_native_cc" ccenv_cpp="$mb_native_cpp" ccenv_cxx="$mb_native_cxx" |