diff options
author | Peter Powell <petpow@saberuk.com> | 2019-06-06 22:28:25 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-06-06 22:28:25 +0100 |
commit | 806b4d55a2f19b6521c34af6210c323a1beb414b (patch) | |
tree | 341518546db0a5424f754ff9e6fa989576d57ef7 /configure | |
parent | 08eee19aff6451171d1c63ecdf9a2c4820bf9da0 (diff) |
Add a configure warning about OpenBSDs broken compilers/linkers.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -263,6 +263,15 @@ configured on the Hardware Node. Failure to do so may result in clock drifting! EOW } +# Warn the user about OpenBSD shipping incredibly broken compilers/linkers. +if ($^O eq 'openbsd') { + print_warning <<'EOW'; +You are building InspIRCd on OpenBSD. The C++ compilers and linkers +that OpenBSD ship are incredibly broken. You may have strange linker errors +and crashes. Please consider using a different OS like FreeBSD/NetBSD instead. +EOW +} + # Check that the user actually wants this version. if (defined $version{REAL_LABEL}) { print_warning <<'EOW'; |