From dcfe5acf15d2c732e0719f4247a28ab46d3c3519 Mon Sep 17 00:00:00 2001 From: midipix Date: Jun 05 2021 03:50:03 +0000 Subject: build system: ccenv: ccenv.in: whitespace meditation. --- diff --git a/sofort/ccenv/ccenv.in b/sofort/ccenv/ccenv.in index a7f2056..1f78935 100644 --- a/sofort/ccenv/ccenv.in +++ b/sofort/ccenv/ccenv.in @@ -1,90 +1,90 @@ # @ccenv_cfgtype@ system flavor -OS = @ccenv_os@ -OS_SEMANTICS = @ccenv_os_semantics@ +OS = @ccenv_os@ +OS_SEMANTICS = @ccenv_os_semantics@ -OS_DSO_EXRULES = @ccenv_os_dso_exrules@ -OS_DSO_LINKAGE = @ccenv_os_dso_linkage@ +OS_DSO_EXRULES = @ccenv_os_dso_exrules@ +OS_DSO_LINKAGE = @ccenv_os_dso_linkage@ -OS_APP_PREFIX = @ccenv_os_app_prefix@ -OS_APP_SUFFIX = @ccenv_os_app_suffix@ +OS_APP_PREFIX = @ccenv_os_app_prefix@ +OS_APP_SUFFIX = @ccenv_os_app_suffix@ -OS_LIB_PREFIX = @ccenv_os_lib_prefix@ -OS_LIB_SUFFIX = @ccenv_os_lib_suffix@ +OS_LIB_PREFIX = @ccenv_os_lib_prefix@ +OS_LIB_SUFFIX = @ccenv_os_lib_suffix@ -OS_IMPLIB_EXT = @ccenv_os_implib_ext@ -OS_LIBDEF_EXT = @ccenv_os_libdef_ext@ +OS_IMPLIB_EXT = @ccenv_os_implib_ext@ +OS_LIBDEF_EXT = @ccenv_os_libdef_ext@ -OS_ARCHIVE_EXT = @ccenv_os_archive_ext@ -OS_SONAME = @ccenv_os_soname@ +OS_ARCHIVE_EXT = @ccenv_os_archive_ext@ +OS_SONAME = @ccenv_os_soname@ -OS_LIB_PREFIXED_SUFFIX = @ccenv_os_lib_prefixed_suffix@ -OS_LIB_SUFFIXED_SUFFIX = @ccenv_os_lib_suffixed_suffix@ +OS_LIB_PREFIXED_SUFFIX = @ccenv_os_lib_prefixed_suffix@ +OS_LIB_SUFFIXED_SUFFIX = @ccenv_os_lib_suffixed_suffix@ # @ccenv_cfgtype@ characteristics -CC_HOST = @ccenv_cc_host@ -CC_BITS = @ccenv_cc_bits@ +CC_HOST = @ccenv_cc_host@ +CC_BITS = @ccenv_cc_bits@ -CC_ARFMT = @ccenv_cc_arfmt@ -CC_SOFMT = @ccenv_cc_sofmt@ -CC_BINFMT = @ccenv_cc_binfmt@ -CC_UNDERSCORE = @ccenv_cc_underscore@ -CC_ENVIRONMENT = @ccenv_cc_environment@ +CC_ARFMT = @ccenv_cc_arfmt@ +CC_SOFMT = @ccenv_cc_sofmt@ +CC_BINFMT = @ccenv_cc_binfmt@ +CC_UNDERSCORE = @ccenv_cc_underscore@ +CC_ENVIRONMENT = @ccenv_cc_environment@ -CC_ARCH_BFD = @ccenv_cc_arch_bfd@ -CC_ARCH_LLVM = @ccenv_cc_arch_llvm@ +CC_ARCH_BFD = @ccenv_cc_arch_bfd@ +CC_ARCH_LLVM = @ccenv_cc_arch_llvm@ # incompatible tool variants -AS_ASM = @ccenv_as_asm@ -AS_LL = @ccenv_as_ll@ -AS_MC = @ccenv_as_mc@ +AS_ASM = @ccenv_as_asm@ +AS_LL = @ccenv_as_ll@ +AS_MC = @ccenv_as_mc@ -LD_BFD = @ccenv_ld_bfd@ -LD_GOLD = @ccenv_ld_gold@ -LD_LLD = @ccenv_ld_lld@ +LD_BFD = @ccenv_ld_bfd@ +LD_GOLD = @ccenv_ld_gold@ +LD_LLD = @ccenv_ld_lld@ -OBJDUMP_BFD = @ccenv_objdump_bfd@ -OBJDUMP_LLVM = @ccenv_objdump_llvm@ +OBJDUMP_BFD = @ccenv_objdump_bfd@ +OBJDUMP_LLVM = @ccenv_objdump_llvm@ -READELF_BFD = @ccenv_readelf_bfd@ -READELF_LLVM = @ccenv_readelf_llvm@ +READELF_BFD = @ccenv_readelf_bfd@ +READELF_LLVM = @ccenv_readelf_llvm@ # @ccenv_cfgtype@ primary tools -CC = @ccenv_cc@ -CPP = @ccenv_cpp@ -CXX = @ccenv_cxx@ - -AR = @ccenv_ar@ -NM = @ccenv_nm@ -OBJDUMP = @ccenv_objdump@ -RANLIB = @ccenv_ranlib@ -SIZE = @ccenv_size@ -STRIP = @ccenv_strip@ -STRINGS = @ccenv_strings@ - -ADDR2LINE = @ccenv_addr2line@ -COV = @ccenv_cov@ -CXXFILT = @ccenv_cxxfilt@ -OBJCOPY = @ccenv_objcopy@ - -ELFEDIT = @ccenv_elfedit@ -READELF = @ccenv_readelf@ -READOBJ = @ccenv_readobj@ - -PERK = @ccenv_perk@ -MDSO = @ccenv_mdso@ -DLLTOOL = @ccenv_dlltool@ - -WINDMC = @ccenv_windmc@ -WINDRC = @ccenv_windrc@ +CC = @ccenv_cc@ +CPP = @ccenv_cpp@ +CXX = @ccenv_cxx@ + +AR = @ccenv_ar@ +NM = @ccenv_nm@ +OBJDUMP = @ccenv_objdump@ +RANLIB = @ccenv_ranlib@ +SIZE = @ccenv_size@ +STRIP = @ccenv_strip@ +STRINGS = @ccenv_strings@ + +ADDR2LINE = @ccenv_addr2line@ +COV = @ccenv_cov@ +CXXFILT = @ccenv_cxxfilt@ +OBJCOPY = @ccenv_objcopy@ + +ELFEDIT = @ccenv_elfedit@ +READELF = @ccenv_readelf@ +READOBJ = @ccenv_readobj@ + +PERK = @ccenv_perk@ +MDSO = @ccenv_mdso@ +DLLTOOL = @ccenv_dlltool@ + +WINDMC = @ccenv_windmc@ +WINDRC = @ccenv_windrc@ # @ccenv_cfgtype@ secondary tools # note: the direct use of $(@ccenv_makevar_prefix@LD) is highly discouraged -AS = @ccenv_as@ -LD = @ccenv_ld@ +AS = @ccenv_as@ +LD = @ccenv_ld@ # @ccenv_cfgtype@ cflags -CFLAGS_OS += -DOS_LIB_SUFFIX=\"@ccenv_os_lib_suffix@\" -CFLAGS_OS += @ccenv_cflags_os@ -CFLAGS_PIC += @ccenv_cflags_pic@ +CFLAGS_OS += -DOS_LIB_SUFFIX=\"@ccenv_os_lib_suffix@\" +CFLAGS_OS += @ccenv_cflags_os@ +CFLAGS_PIC += @ccenv_cflags_pic@ # @ccenv_cfgtype@ cflags: supported compiler switches diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index 868ad1a..a52d699 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -1475,10 +1475,10 @@ ccenv_set_cc_switch_vars() ccenv_switch_var=${ccenv_switch_var%=} ccenv_switch_var=${ccenv_switch_var%,} - printf '%-31s = %s\n' "${ccenv_make_var}" "${ccenv_switch_var}" \ + printf '%-40s= %s\n' "${ccenv_make_var}" "${ccenv_switch_var}" \ >> "$ccenv_mk" else - printf '%-31s =\n' "${ccenv_make_var}" \ + printf '%-40s=\n' "${ccenv_make_var}" \ >> "$ccenv_mk" fi done