From c6a79583ed592fc8381c681d1829ce59b9816f8d Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 30 Jan 2023 12:06:43 +0100 Subject: just: default to the unknown tool chain In order to be portable, we should not make any assumptions about the preferred toolchains of the users and instead default to the toolchain making the least assumptions about the compiler actually used. --- INSTALL.md | 2 +- TARGETS | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index d68a32e5..2e6f74b6 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -31,7 +31,7 @@ variables. The full list can be obtained via `just-mr describe`. | ARCH | x86, x86_64, arm, arm64 | x86_64 | | HOST_ARCH | x86, x86_64, arm, arm64 | *derived from ARCH* | | TARGET_ARCH | x86, x86_64, arm, arm64 | *derived from ARCH* | -| COMPILER_FAMILY | gnu, clang, unknown | clang | +| COMPILER_FAMILY | gnu, clang, unknown | unknown | | DEBUG | true, false | false | | BUILD_STATIC_BINARY | true, false | false | diff --git a/TARGETS b/TARGETS index 915aa3cf..a575fa9a 100644 --- a/TARGETS +++ b/TARGETS @@ -31,7 +31,7 @@ , "COMPILER_FAMILY": [ "The compiler family to use as (cross) toolchain." , "" - , "Supported values are \"clang\" (the default), \"gcc\", and \"unkown\"." + , "Supported values are \"unkonwn\" (the default), \"clang\", and \"gcc\"." , "The unknown compiler family tries to not make any assumptions on the" , "used C and C++ compilers and uses the generic \"cc\" and \"c++\" as" , "names for the respective compilers; typically used in conjunction with" @@ -108,7 +108,7 @@ } ] , [ "COMPILER_FAMILY" - , {"type": "var", "name": "COMPILER_FAMILY", "default": "clang"} + , {"type": "var", "name": "COMPILER_FAMILY", "default": "unknown"} ] ] , "body": -- cgit v1.2.3