2010-12-10 Alejandro G. Castro <alex@igalia.com>
[WebKit-https.git] / 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_CFLAGS+=-fuse-ld=gold
10     QMAKE_CXXFLAGS+=-fuse-ld=gold
11     QMAKE_LFLAGS+=-fuse-ld=gold
12 }
13 }
14