f2b393605c
ok espie@
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
$OpenBSD: patch-lto-plugin_Makefile_in,v 1.1.1.1 2012/04/23 15:56:42 pascal Exp $
|
|
--- lto-plugin/Makefile.in.orig Tue Jan 3 14:15:21 2012
|
|
+++ lto-plugin/Makefile.in Sun Mar 11 19:10:42 2012
|
|
@@ -241,9 +241,11 @@ liblto_plugin_la_SOURCES = lto-plugin.c
|
|
liblto_plugin_la_LIBADD = \
|
|
$(if $(wildcard ../libiberty/pic/libiberty.a),$(Wc)../libiberty/pic/libiberty.a,)
|
|
|
|
+include $(top_srcdir)/../libversions
|
|
# Note that we intentionally override the bindir supplied by ACX_LT_HOST_FLAGS
|
|
liblto_plugin_la_LDFLAGS = $(lt_host_flags) -module -bindir $(libexecsubdir) \
|
|
- $(if $(wildcard ../libiberty/pic/libiberty.a),,-Wc,../libiberty/libiberty.a)
|
|
+ $(if $(wildcard ../libiberty/pic/libiberty.a),,-Wc,../libiberty/libiberty.a) \
|
|
+ $(LIBlto_plugin_LTVERSION)
|
|
|
|
liblto_plugin_la_DEPENDENCIES = $(if $(wildcard \
|
|
../libiberty/pic/libiberty.a),../libiberty/pic/libiberty.a,)
|
|
@@ -542,7 +544,7 @@ $(in_gcc_libs) : $(gcc_build_dir)/%: %
|
|
echo WARNING: $* is static, not copying to $@ >&2 ; \
|
|
else \
|
|
$(mkinstalldirs) $(gcc_build_dir) && \
|
|
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $* `pwd`/$@ ; \
|
|
+ cp $* `pwd`/$@ ; \
|
|
fi
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|