Don't compile UIC with -O2 inside Scratchbox
It makes QEMU crash when running the resulting binary. Change-Id: I94e5d703205827dea88770336a8c5201e7333486 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
This commit is contained in:
parent
4ab6860172
commit
36a590c90d
@ -14,6 +14,12 @@ HEADERS += uic.h
|
||||
SOURCES += main.cpp \
|
||||
uic.cpp
|
||||
|
||||
linux-g++-maemo:contains(QT_ARCH, arm) {
|
||||
# UIC will crash when running inside QEMU if built with -O2
|
||||
QMAKE_CFLAGS_RELEASE -= -O2
|
||||
QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||
}
|
||||
|
||||
include(../bootstrap/bootstrap.pri)
|
||||
|
||||
target.path=$$[QT_INSTALL_BINS]
|
||||
|
Loading…
Reference in New Issue
Block a user