forked from qt-creator/qt-creator
Qbs: Allow differentiation between little and unknown endianness.
Change-Id: Iaa1f13ba0086fa36fe581d81f63e84f0918ebb7e Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
@@ -72,7 +72,7 @@ QVariantMap DefaultPropertyProvider::properties(const ProjectExplorer::Kit *k, c
|
|||||||
|
|
||||||
if (targetAbi.endianness() == ProjectExplorer::Abi::BigEndian)
|
if (targetAbi.endianness() == ProjectExplorer::Abi::BigEndian)
|
||||||
data.insert(QLatin1String(QBS_ENDIANNESS), QLatin1String("big"));
|
data.insert(QLatin1String(QBS_ENDIANNESS), QLatin1String("big"));
|
||||||
else
|
else if (targetAbi.endianness() == ProjectExplorer::Abi::LittleEndian)
|
||||||
data.insert(QLatin1String(QBS_ENDIANNESS), QLatin1String("little"));
|
data.insert(QLatin1String(QBS_ENDIANNESS), QLatin1String("little"));
|
||||||
|
|
||||||
if (targetAbi.os() == ProjectExplorer::Abi::WindowsOS) {
|
if (targetAbi.os() == ProjectExplorer::Abi::WindowsOS) {
|
||||||
|
Reference in New Issue
Block a user