patch-lto-plugin_Makefile_in 1.2 KB

1234567891011121314151617181920212223242526
  1. $OpenBSD: patch-lto-plugin_Makefile_in,v 1.3 2012/03/31 20:02:03 pascal Exp $
  2. --- lto-plugin/Makefile.in.orig Tue Jan 3 14:15:21 2012
  3. +++ lto-plugin/Makefile.in Sun Mar 11 19:10:42 2012
  4. @@ -241,9 +241,11 @@ liblto_plugin_la_SOURCES = lto-plugin.c
  5. liblto_plugin_la_LIBADD = \
  6. $(if $(wildcard ../libiberty/pic/libiberty.a),$(Wc)../libiberty/pic/libiberty.a,)
  7. +include $(top_srcdir)/../libversions
  8. # Note that we intentionally override the bindir supplied by ACX_LT_HOST_FLAGS
  9. liblto_plugin_la_LDFLAGS = $(lt_host_flags) -module -bindir $(libexecsubdir) \
  10. - $(if $(wildcard ../libiberty/pic/libiberty.a),,-Wc,../libiberty/libiberty.a)
  11. + $(if $(wildcard ../libiberty/pic/libiberty.a),,-Wc,../libiberty/libiberty.a) \
  12. + $(LIBlto_plugin_LTVERSION)
  13. liblto_plugin_la_DEPENDENCIES = $(if $(wildcard \
  14. ../libiberty/pic/libiberty.a),../libiberty/pic/libiberty.a,)
  15. @@ -542,7 +544,7 @@ $(in_gcc_libs) : $(gcc_build_dir)/%: %
  16. echo WARNING: $* is static, not copying to $@ >&2 ; \
  17. else \
  18. $(mkinstalldirs) $(gcc_build_dir) && \
  19. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $* `pwd`/$@ ; \
  20. + cp $* `pwd`/$@ ; \
  21. fi
  22. # Tell versions [3.59,3.63) of GNU make to not export all variables.