84
84
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils) ge 2.23.1-1~exp3 ; echo $$?),0)
85
85
ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
86
86
# -fused-ld=gold enables the gold linker (but is not supported by all archs / distro)
88
CXXFLAGS_EXTRA += -Wl,-fuse-ld=gold -Wl,--no-keep-files-mapped -Wl,--no-map-whole-files
89
89
CMAKE_EXTRA += -DLLVM_BINUTILS_INCDIR=/usr/include/