diff options
author | Raul Infante-Sainz <infantesainz@gmail.com> | 2020-06-18 10:07:57 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2020-06-18 17:50:07 +0100 |
commit | 3a8522600361a7ba8acc1239439f823452b691e3 (patch) | |
tree | 7b407936836be9cf39a12bd60d50ba77269f794a /reproduce/software/shell/git-pre-commit | |
parent | 95058143cdb188cec36a9d6d0294a1610bc6164a (diff) |
Fixed small bug that was introduced four commits ago
In Commit 105467fe6402 (Software tarballs are downloaded even if not
built), we introduced tests to download the tarballs of software even if
they don't need to be built on the respective host. However some small
typos in the checks existed that could cause a crash on macOS. In
particular in the building of PatchELF and libbsd we had forgot to add the
necessary 'x' before the 'yes' in the conditional to check if a we are on
macOS or not.
With this commit these two checks have been corrected. Also, in the
building of 'isl' and 'mpc', we now check for 'host_cc' (signifying that
the user wants to use their host C compiler for the high-level step)
instead of 'on_mac_os'. The reason is that even on non-macOS systems, a
user may not want to build the C compiler from scratch and use the
'--host-cc' option. In such cases, they don't need to compile 'isl' and
'mpc'.
Diffstat (limited to 'reproduce/software/shell/git-pre-commit')
0 files changed, 0 insertions, 0 deletions