diff options
Diffstat (limited to 'lto-plugin/Makefile.am')
-rw-r--r-- | lto-plugin/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lto-plugin/Makefile.am b/lto-plugin/Makefile.am index fb1d6c20f18..ba385c76c6f 100644 --- a/lto-plugin/Makefile.am +++ b/lto-plugin/Makefile.am @@ -15,7 +15,8 @@ libexecsub_LTLIBRARIES = liblto_plugin.la liblto_plugin_la_SOURCES = lto-plugin.c liblto_plugin_la_LIBADD = \ $(if $(wildcard ../libiberty/pic/libiberty.a),../libiberty/pic/libiberty.a,) -liblto_plugin_la_LDFLAGS = -no-undefined -bindir $(libexecsubdir) \ +# Note that we intentionally override the bindir supplied by ACX_LT_HOST_FLAGS +liblto_plugin_la_LDFLAGS = $(lt_host_flags) -bindir $(libexecsubdir) \ $(if $(wildcard ../libiberty/pic/libiberty.a),,-Wc,../libiberty/libiberty.a) all: copy_lto_plugin |