From d5951c04195e050d65d44c9578bd339dd41eee2f Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Thu, 20 Feb 2014 16:13:35 +0100 Subject: Allow to set LD_PLUGIN and use it for 'ar' - helps -flto build with clang. So, it's possible to just add LD_PLUGIN=/usr/lib64/LLVMgold.so to autogen.input and it works. Change-Id: I35cdebfc918793c2ff99fd4f6dce9319b459be0e --- config_host.mk.in | 1 + 1 file changed, 1 insertion(+) (limited to 'config_host.mk.in') diff --git a/config_host.mk.in b/config_host.mk.in index 2e81fecc2d45..697d788b510c 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -299,6 +299,7 @@ export KDE_LIBS=$(gb_SPACE)@KDE_LIBS@ export KRB5_LIBS=@KRB5_LIBS@ export LCMS2_CFLAGS=$(gb_SPACE)@LCMS2_CFLAGS@ export LCMS2_LIBS=$(gb_SPACE)@LCMS2_LIBS@ +export LD_PLUGIN=@LD_PLUGIN@ @x_LDFLAGS@ export LDFLAGS=@LDFLAGS@ export LFS_CFLAGS=@LFS_CFLAGS@ export LIBBASE_JAR=@LIBBASE_JAR@ -- cgit