forked from qt-creator/qt-creator
ProjectExplorer: Evaluate -mfloat-abi for macros
The option -mfloat-abi sets macros (in this case __ARM_PCS_VFP), so it should be evaluated while determining the macros for the code model and the clang static analyzer. Task-number: QTCREATORBUG-17797 Change-Id: I22a72d31956521b7e2ad7c1126036b25cfe0898d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -377,6 +377,7 @@ QByteArray GccToolChain::predefinedMacros(const QStringList &cxxflags) const
|
||||
|| a == QLatin1String("-m64") || a == QLatin1String("-m96bit-long-double")
|
||||
|| a == QLatin1String("-mabm") || a == QLatin1String("-maes")
|
||||
|| a.startsWith(QLatin1String("-march=")) || a == QLatin1String("-mavx")
|
||||
|| a.startsWith(QLatin1String("-mfloat-abi"))
|
||||
|| a.startsWith(QLatin1String("-masm=")) || a == QLatin1String("-mcx16")
|
||||
|| a == QLatin1String("-mfma") || a == QLatin1String("-mfma4")
|
||||
|| a == QLatin1String("-mlwp") || a == QLatin1String("-mpclmul")
|
||||
|
Reference in New Issue
Block a user