2011-01-12 Maciej Stachowiak <mjs@apple.com>
[WebKit.git] / common.pri
index aa6b8e77b013d83d70ef4666f0ec36182fe9b330..c9843bbc786721680ca9ba6937d8eb566fff1fbf 100644 (file)
@@ -4,7 +4,7 @@ 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) {
+!isEmpty($$(SBOX_DPKG_INST_ARCH)):exists(/usr/bin/ld.gold) {
     message(Using gold linker)
     QMAKE_CFLAGS+=-fuse-ld=gold
     QMAKE_CXXFLAGS+=-fuse-ld=gold