diff options
Diffstat (limited to 'Source/common.pri')
-rw-r--r-- | Source/common.pri | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/common.pri b/Source/common.pri new file mode 100644 index 0000000..e6973f4 --- /dev/null +++ b/Source/common.pri @@ -0,0 +1,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 +} +} + |