summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-01-30 12:06:43 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-01-30 14:01:10 +0100
commitc6a79583ed592fc8381c681d1829ce59b9816f8d (patch)
treeea51b1dd48a517c756d6f2d9da97fcb68f299c29
parent80eae6b8be2f88a1d4db03477416badfc652744d (diff)
downloadjustbuild-c6a79583ed592fc8381c681d1829ce59b9816f8d.tar.gz
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.
-rw-r--r--INSTALL.md2
-rw-r--r--TARGETS4
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":