summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/headersclean/headersclean.pri
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/other/headersclean/headersclean.pri')
-rw-r--r--tests/auto/other/headersclean/headersclean.pri6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/other/headersclean/headersclean.pri b/tests/auto/other/headersclean/headersclean.pri
index 163ef6d409..c95380e3b9 100644
--- a/tests/auto/other/headersclean/headersclean.pri
+++ b/tests/auto/other/headersclean/headersclean.pri
@@ -18,8 +18,10 @@
# Enable pedantic mode, but accept variadic macros and 'long long' usage.
*-g++*: QMAKE_CXXFLAGS += -Wno-long-long -Wno-variadic-macros -pedantic-errors
-# There are outstanding alignment issues on ARM in some container classes.
-contains(QT_ARCH,arm):*-g++*:QMAKE_CXXFLAGS -= -Wcast-align
+contains(QT_ARCH,arm)|contains(QT_ARCH,mips) {
+ # There are outstanding alignment issues in some container classes.
+ *-g++*:QMAKE_CXXFLAGS -= -Wcast-align
+}
QMAKE_CXXFLAGS += -DQT_NO_CAST_TO_ASCII \
-DQT_NO_CAST_FROM_ASCII \