diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2020-07-05 19:17:05 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2020-07-05 19:17:05 +0100 |
commit | 0e4d4b357f4c2209aea8012847b1309fe8b33b13 (patch) | |
tree | c3f1c7eb01db8ae8a09e5694bb71b43b3a995351 /reproduce/software/make/build-rules.mk | |
parent | 5d97210eef4ba7804501c28b0ddeb9ffe1e23064 (diff) |
Configure script prefers clang for macOS systems
In the previous commit (Commit 1bc00c9: Only using clang in macOS systems
that also have GCC) we set the used C compiler for high-level programs to
be 'clang' on macOS systems. But I forgot to do the same kind of change in
the configure script (to prefer 'clang' when we are testing for a C
compiler on the host).
With this commit, the compiler checking phases of the configure script have
been improved, so on macOS systems, we now first search for 'clang', then
search for 'gcc'.
While doing this, I also noticed that the 'rpath' checking command was done
before we actually define 'instdir'!!! So in effect, the 'rpath' directory
was being set to '/lib'! So with this commit, this test has been taken to
after defining 'instdir'.
Diffstat (limited to 'reproduce/software/make/build-rules.mk')
0 files changed, 0 insertions, 0 deletions