summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-04-02 05:59:33 +0000
committermidipix <writeonce@midipix.org>2024-04-02 05:59:33 +0000
commitc530a0aafcbeed5d6b50e861a6ee6c920e76bd12 (patch)
treeebf7aa938cc5dee4eeec29a41d2136074f1e027b
parent685ebfc96c560a0b9f3d8f0a5ae413d5d934e680 (diff)
downloadsbmake-c530a0aafcbeed5d6b50e861a6ee6c920e76bd12.tar.bz2
sbmake-c530a0aafcbeed5d6b50e861a6ee6c920e76bd12.tar.xz
project: cfgdefs.sh: output all bootstrapping cflags to config.log.
-rw-r--r--project/config/cfgdefs.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index b432ca4..a8648ca 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -64,7 +64,8 @@ cfgdefs_bootstrap()
output_step_prolog 'compiling' "./bootstrap/${obj}"
- printf '\n$ %s %s\n' "$mb_native_cc $cfgdefs_cflags" '\' >&3
+ printf '\n$ %s %s\n' "$mb_native_cc $mb_native_cflags" '\' >&3
+ printf '\n$ %s\n' "$cfgdefs_cflags" '\' >&3
printf '\t-c %s %s\n' "$mb_source_dir/src/${src}" '\' >&3
printf '\t-o %s %s\n\n\n' "$mb_pwd/bootstrap/${obj}" >&3
@@ -82,7 +83,8 @@ cfgdefs_bootstrap()
output_step_prolog 'compiling' "./bootstrap/${obj}"
- printf '\n$ %s %s\n' "$mb_native_cc $cfgdefs_cflags" '\' >&3
+ printf '\n$ %s %s\n' "$mb_native_cc $mb_native_cflags" '\' >&3
+ printf '\n$ %s\n' "$cfgdefs_cflags" '\' >&3
printf '\t-c %s %s\n' "$mb_source_dir/src/logic/${src}" '\' >&3
printf '\t-o %s %s\n\n\n' "$mb_pwd/bootstrap/${obj}" >&3