diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2009-09-30 13:25:28 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-09-30 13:27:21 (GMT) |
commit | 3fa5162526a2d0dba0abd00c52f44ac93f9d78f3 (patch) | |
tree | 6e22bf06f1b5537d7b56f35eba6274c66b220c06 /src | |
parent | 0986dab7c77fced09ddb4400b20d3939f4ba1002 (diff) | |
download | Qt-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')
-rw-r--r-- | src/script/script.pro | 5 |
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="" |