2011-01-24 Andras Becsi <abecsi@webkit.org>
[WebKit.git] / Source / common.pri
1 # common project include file for JavaScriptCore and WebCore
2
3 contains(JAVASCRIPTCORE_JIT,yes): DEFINES+=ENABLE_JIT=1
4 contains(JAVASCRIPTCORE_JIT,no): DEFINES+=ENABLE_JIT=0
5
6 linux-g++ {
7 isEmpty($$(SBOX_DPKG_INST_ARCH)):exists(/usr/bin/ld.gold) {
8     message(Using gold linker)
9     QMAKE_LFLAGS+=-fuse-ld=gold
10 }
11 }
12