From 3fa5162526a2d0dba0abd00c52f44ac93f9d78f3 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 30 Sep 2009 15:25:28 +0200 Subject: 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 --- src/script/script.pro | 5 +++++ 1 file changed, 5 insertions(+) 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="" -- cgit v0.12