diff options
author | midipix <writeonce@midipix.org> | 2020-01-06 08:36:11 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-01-06 08:48:01 +0000 |
commit | e8b981dec112f0dea73f1104c7071d7c7221bbfd (patch) | |
tree | 29e8a8e785994f5690fc64803eaf8186c303d0b3 /sofort | |
parent | c61346e78f95445bff7d5a5fe94b4196e822f23b (diff) | |
download | slibtool-e8b981dec112f0dea73f1104c7071d7c7221bbfd.tar.bz2 slibtool-e8b981dec112f0dea73f1104c7071d7c7221bbfd.tar.xz |
build system: ccenv_common_init(): fully expand all cflags.
Diffstat (limited to 'sofort')
-rw-r--r-- | sofort/ccenv/ccenv.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index 8046209..2f61736 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -1247,14 +1247,7 @@ ccenv_common_init() if [ $ccenv_cfgtype = 'host' ]; then ccenv_tflags= - ccenv_cflags= - - ccenv_cflags="$ccenv_cflags $mb_cflags_debug $mb_cflags_config" - ccenv_cflags="$ccenv_cflags $mb_cflags_sysroot $mb_cflags_common" - ccenv_cflags="$ccenv_cflags $mb_cflags_cmdline $mb_cflags" - ccenv_cflags="$ccenv_cflags $mb_cflags_path $mb_cflags_os" - ccenv_cflags="$ccenv_cflags $mb_cflags_site $mb_cflags_strict" - ccenv_cflags="$ccenv_cflags $mb_cflags_last $mb_cflags_once" + ccenv_cflags=$(make -s -f "$mb_pwd/Makefile.tmp" .cflags-host) ccenv_cc="$mb_user_cc" ccenv_cpp="$mb_user_cpp" @@ -1264,7 +1257,7 @@ ccenv_common_init() ccenv_pe_image_base="$mb_pe_image_base" else ccenv_tflags= - ccenv_cflags="$mb_native_cflags" + ccenv_cflags=$(make -s -f "$mb_pwd/Makefile.tmp" .cflags-native) ccenv_cc="$mb_native_cc" ccenv_cpp="$mb_native_cpp" ccenv_cxx="$mb_native_cxx" |