diff options
author | Mikael Pettersson <[email protected]> | 2015-03-23 15:20:30 +0100 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2015-04-20 11:47:39 +0200 |
commit | 87574e845a84c1d6744ac533803ae4fbd2dda8b8 (patch) | |
tree | f0ca01e660a05ef478c4973803ef3970281e2c32 /erl-build-tool-vars.sh | |
parent | ddfbbcbbd489913120a55b2a054b046c68b40a8a (diff) | |
download | otp-87574e845a84c1d6744ac533803ae4fbd2dda8b8.tar.gz otp-87574e845a84c1d6744ac533803ae4fbd2dda8b8.tar.bz2 otp-87574e845a84c1d6744ac533803ae4fbd2dda8b8.zip |
erts/configure.in: handle more 'linux' spellings
The configuration code which canonicalizes the operating system
name into OPSYS requires Linux to be spelled 'linux' or 'Linux'.
This is a problem in some build environments, e.g. RPM, which
supply --build and --host using the longer 'linux-gnu' spelling.
The effect is that OPSYS becomes 'noopsys' and some checks in
erts/configure.in do not work as expected, e.g. the auto-enabling
of HiPE may not happen.
Fixed by matching on 'linux*' not just 'linux'.
On ARM there are even longer variants such as 'linux-gnueabi' and
'linux-gnueabihf': these are also correctly mapped to 'linux' now.
Diffstat (limited to 'erl-build-tool-vars.sh')
0 files changed, 0 insertions, 0 deletions