summaryrefslogtreecommitdiffstats
path: root/src/script/script.pro
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-09-30 13:25:28 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-09-30 13:27:21 (GMT)
commit3fa5162526a2d0dba0abd00c52f44ac93f9d78f3 (patch)
tree6e22bf06f1b5537d7b56f35eba6274c66b220c06 /src/script/script.pro
parent0986dab7c77fced09ddb4400b20d3939f4ba1002 (diff)
downloadQt-3fa5162526a2d0dba0abd00c52f44ac93f9d78f3.zip
Qt-3fa5162526a2d0dba0abd00c52f44ac93f9d78f3.tar.gz
Qt-3fa5162526a2d0dba0abd00c52f44ac93f9d78f3.tar.bz2
Prospective solaris-g++-sparc build fix
g++ on sparc appears to have problems inlining functions when Qt is compiled in debug. ("sorry: unimplemented blah blah") We're not entirely sure, but we suspect that removing -g might help avoid this compiler bug. Reviewed-by: Kent Hansen
Diffstat (limited to 'src/script/script.pro')
-rw-r--r--src/script/script.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/script/script.pro b/src/script/script.pro
index 659aa26..008c556 100644
--- a/src/script/script.pro
+++ b/src/script/script.pro
@@ -62,6 +62,11 @@ DEFINES += WTF_USE_JAVASCRIPTCORE_BINDINGS=1 WTF_CHANGES=1
DEFINES += NDEBUG
+solaris-g++:isEqual(QT_ARCH,sparc) {
+ CONFIG -= separate_debug_info
+ CONFIG += no_debug_info
+}
+
# Avoid JSC C API functions being exported.
DEFINES += JS_EXPORT="" JS_EXPORTDATA=""