diff options
author | Joel Stanley <joel@jms.id.au> | 2022-03-08 12:15:42 +1030 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-03-15 12:12:26 +0100 |
commit | 3ffa501c4cfb58b6903014227247da1bdf79fd7e (patch) | |
tree | 182ad645b3b8d975e3103af0a1ff1a65c15712cb /.github | |
parent | 908257e9d57307d1964f4da1679b288be616f0b0 (diff) | |
download | skiboot-3ffa501c4cfb58b6903014227247da1bdf79fd7e.zip skiboot-3ffa501c4cfb58b6903014227247da1bdf79fd7e.tar.gz skiboot-3ffa501c4cfb58b6903014227247da1bdf79fd7e.tar.bz2 |
Makefile: Fix detection of cross compiler
The Fedora containers don't have 'which' installed. This means the
detection of the cross compiler gives false negatives, leaving CROSS
undefined.
Instead use command -v, which outputs the path of the executable if it
exists.
Fixes: 9cd556ca1e5f ("Makefile: Search for distro-provided cross-compiler")
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions