summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/Source/common.pri
blob: 0f62e147ae334ac41fb06bd2bd50571f391200dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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
}
}

# We use this flag on production branches
# See https://bugs.webkit.org/show_bug.cgi?id=60824
CONFIG += production