1 $NetBSD: patch-bf,v 1.2 2012/01/12 22:59:58 adam Exp $
3 Build shared libjscore.
5 --- a/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pro.orig 2011-12-08 05:06:02.000000000 +0000
6 +++ b/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pro
7 @@ -4,7 +4,6 @@ include($$PWD/../WebKit.pri)
8 include(JavaScriptCore.pri)
12 # Don't use JavaScriptCore as the target name. qmake would create a JavaScriptCore.vcproj for msvc
13 # which already exists as a directory
14 TARGET = $$JAVASCRIPTCORE_TARGET
15 @@ -19,17 +19,14 @@ contains(QT_CONFIG, embedded):CONFIG +=
16 # WebCore adds these config only when in a standalone build.
17 # qbase.pri takes care of that when in a QTDIR_build
18 # Here we add the config for both cases since we don't include qbase.pri
19 -contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
20 -unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
23 + include($$QT_SOURCE_TREE/src/qbase.pri)
24 # Remove the following 2 lines if you want debug information in JavaScriptCore
25 CONFIG -= separate_debug_info
26 CONFIG += no_debug_info
29 -*-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
30 -*-g++*:QMAKE_CXXFLAGS_RELEASE += -O3
32 # Rules when JIT enabled (not disabled)
33 !contains(DEFINES, ENABLE_JIT=0) {