projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab6860
)
Don't compile UIC with -O2 inside Scratchbox
author
Tor Arne Vestbø
<tor.arne.vestbo@nokia.com>
Tue, 31 Jan 2012 13:24:03 +0000
(14:24 +0100)
committer
Qt by Nokia
<qt-info@nokia.com>
Tue, 31 Jan 2012 20:48:23 +0000
(21:48 +0100)
It makes QEMU crash when running the resulting binary.
Change-Id: I94e5d703205827dea88770336a8c5201e7333486
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
src/tools/uic/uic.pro
patch
|
blob
|
history
diff --git
a/src/tools/uic/uic.pro
b/src/tools/uic/uic.pro
index
b1840c0
..
6598180
100644
(file)
--- a/
src/tools/uic/uic.pro
+++ b/
src/tools/uic/uic.pro
@@
-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]