diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-20 16:13:35 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-21 07:52:23 +0100 |
commit | d5951c04195e050d65d44c9578bd339dd41eee2f (patch) | |
tree | 077be2e6d6e59b9fdbd7bbe7fe8a947342e0bff3 /config_host.mk.in | |
parent | ecf0dd03e93b2b048eb029f43ab206e6d5010af5 (diff) |
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
Diffstat (limited to 'config_host.mk.in')
-rw-r--r-- | config_host.mk.in | 1 |
1 files changed, 1 insertions, 0 deletions
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@ |