chiark / gitweb /
etc/common-cross-config.site: Set `ac_tool_prefix' explicitly.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 22 Dec 2018 10:38:52 +0000 (10:38 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 22 Dec 2018 10:38:52 +0000 (10:38 +0000)
Autoconf will set this from the host alias provided on the command line,
but this is done before reading the `config.site' file, so we must do
this by hand here.

Otherwise, `configure' only finds the generic versions of the tools,
which will work if `binutils-multiarch' is installed, but not otherwise.

etc/common-cross-config.site

index 0679213d9e8a5d843f4c5a519383bc9108764ecf..a3ee15724128d6708668f3ce27b8d3a4904c5ae9 100644 (file)
@@ -4,7 +4,7 @@ prefix=$CROSS_PREFIX
 libexecdir=\${exec_prefix}/lib
 sysconfdir=\${prefix}/etc
 
-host_alias=$CROSS_ARCH
+host_alias=$CROSS_ARCH ac_tool_prefix=$CROSS_ARCH-
 
 case ${CROSS_NATIVE_P-nil} in
   t)