diff -r b72c6db6890b -r 5dc02b23752f src/script/script.pro --- a/src/script/script.pro Wed Jun 23 19:07:03 2010 +0300 +++ b/src/script/script.pro Tue Jul 06 15:10:48 2010 +0300 @@ -39,6 +39,11 @@ LIBS += -lmmtimer } +mac { + DEFINES += ENABLE_JSC_MULTIPLE_THREADS=0 + LIBS_PRIVATE += -framework AppKit +} + include($$WEBKITDIR/JavaScriptCore/JavaScriptCore.pri) INCLUDEPATH += $$WEBKITDIR/JavaScriptCore @@ -68,7 +73,7 @@ } # Avoid JSC C API functions being exported. -DEFINES += JS_EXPORT="" JS_EXPORTDATA="" +DEFINES += JS_NO_EXPORT INCLUDEPATH += $$PWD @@ -81,4 +86,6 @@ MMP_RULES += "USERINCLUDE ../3rdparty/javascriptcore/JavaScriptCore/profiler" } +# WebKit doesn't compile in C++0x mode +*-g++*:QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x