diff options
-rw-r--r-- | src/core/core_module.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/core_module.pro b/src/core/core_module.pro index 733e40534..520b452f7 100644 --- a/src/core/core_module.pro +++ b/src/core/core_module.pro @@ -42,8 +42,10 @@ QMAKE_INFO_PLIST = Info_mac.plist CONFIG -= bsymbolic_functions linux { - QMAKE_LINK="ulimit -n 4096 && $$QMAKE_LINK" - QMAKE_LINK_SHLIB="ulimit -n 4096 && $$QMAKE_LINK_SHLIB" + !ccache:!use_gold_linker:!use_lld_linker { + QMAKE_LINK="ulimit -n 4096 && $$QMAKE_LINK" + QMAKE_LINK_SHLIB="ulimit -n 4096 && $$QMAKE_LINK_SHLIB" + } qtConfig(separate_debug_info): QMAKE_POST_LINK="cd $(DESTDIR) && $(STRIP) --strip-unneeded $(TARGET)" } |