summaryrefslogtreecommitdiffstats
path: root/Source/common.pri
blob: e6973f488ea918836279c9cda65c9f7de2d5f99e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# common project include file for JavaScriptCore and WebCore

contains(JAVASCRIPTCORE_JIT,yes): DEFINES+=ENABLE_JIT=1
contains(JAVASCRIPTCORE_JIT,no): DEFINES+=ENABLE_JIT=0

linux-g++ {
isEmpty($$(SBOX_DPKG_INST_ARCH)):exists(/usr/bin/ld.gold) {
    message(Using gold linker)
    QMAKE_LFLAGS+=-fuse-ld=gold
}
}