forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
Tobias Hunger
parent
3b86184d12
commit
6ff6edf8d7
@@ -744,6 +744,16 @@ Abi Abi::hostAbi()
|
|||||||
os = MacOS;
|
os = MacOS;
|
||||||
subos = GenericMacFlavor;
|
subos = GenericMacFlavor;
|
||||||
format = MachOFormat;
|
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
|
#endif
|
||||||
|
|
||||||
const Abi result(arch, os, subos, format, QSysInfo::WordSize);
|
const Abi result(arch, os, subos, format, QSysInfo::WordSize);
|
||||||
|
Reference in New Issue
Block a user