diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-12-30 14:23:49 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-01-07 10:22:33 +0100 |
commit | 6ff6edf8d7a59b852a7e6084f658a1d3e1ee7500 (patch) | |
tree | 66ab9e373a00add8ccee75a3536a679a2f7a5219 /src | |
parent | 3b86184d12205cff5e10bdc7e22abd7b1455e741 (diff) |
Abi: Correctly set ABI information for the BSDs in hostAbi().
Add another #ifdef block for BSD operating systems so that qtcreator
stops complaining that it does not have enough information about the
host's ABI.
Change-Id: I5841e162eda7f34fa4a962ab1c035d1727613f6f
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/projectexplorer/abi.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index 6f6f0e3f184..0d3ecc23fa7 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -744,6 +744,16 @@ Abi Abi::hostAbi() os = MacOS; subos = GenericMacFlavor; format = MachOFormat; +#elif defined (Q_OS_BSD4) + os = BsdOS; +# if defined (Q_OS_FREEBSD) + subos = FreeBsdFlavor; +# elif defined (Q_OS_NETBSD) + subos = NetBsdFlavor; +# elif defined (Q_OS_OPENBSD) + subos = OpenBsdFlavor; +# endif + format = ElfFormat; #endif const Abi result(arch, os, subos, format, QSysInfo::WordSize); |