diff options
author | Jonathan Yong <10walls@gmail.com> | 2020-09-10 11:48:41 +0000 |
---|---|---|
committer | Jonathan Yong <10walls@gmail.com> | 2020-09-10 11:54:28 +0000 |
commit | ae6cf62861b5e9acb518b016ddbe7f783206f65f (patch) | |
tree | 9240d2dfec216e235e6e055594cbe5857dc1fc62 /lto-plugin | |
parent | f96b6328fa7162111e4440c5901ef313ed3e6c9a (diff) | |
download | gcc-ae6cf62861b5e9acb518b016ddbe7f783206f65f.zip gcc-ae6cf62861b5e9acb518b016ddbe7f783206f65f.tar.gz gcc-ae6cf62861b5e9acb518b016ddbe7f783206f65f.tar.bz2 |
Cygwin/MinGW: Do not version lto plugins
GCC on Linux already uses liblto_plugin.so directly without
the libtool version suffix, adjust windows GCC to do the same.
gcc/ChangeLog:
* config.host: Adjust plugin name for Windows.
lto-plugin/ChangeLog:
* Makefile.am: drop versioning from libtool completely.
* Makefile.in: regenerate.
Diffstat (limited to 'lto-plugin')
-rw-r--r-- | lto-plugin/Makefile.am | 2 | ||||
-rw-r--r-- | lto-plugin/Makefile.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lto-plugin/Makefile.am b/lto-plugin/Makefile.am index ba5882d..204b25f 100644 --- a/lto-plugin/Makefile.am +++ b/lto-plugin/Makefile.am @@ -21,7 +21,7 @@ in_gcc_libs = $(foreach lib, $(libexecsub_LTLIBRARIES), $(gcc_build_dir)/$(lib)) liblto_plugin_la_SOURCES = lto-plugin.c # Note that we intentionally override the bindir supplied by ACX_LT_HOST_FLAGS. liblto_plugin_la_LDFLAGS = $(AM_LDFLAGS) \ - $(lt_host_flags) -module -bindir $(libexecsubdir) + $(lt_host_flags) -module -avoid-version -bindir $(libexecsubdir) # Can be simplified when libiberty becomes a normal convenience library. libiberty = $(with_libiberty)/libiberty.a libiberty_noasan = $(with_libiberty)/noasan/libiberty.a diff --git a/lto-plugin/Makefile.in b/lto-plugin/Makefile.in index 7da7cd2..834699b 100644 --- a/lto-plugin/Makefile.in +++ b/lto-plugin/Makefile.in @@ -350,7 +350,7 @@ libexecsub_LTLIBRARIES = liblto_plugin.la in_gcc_libs = $(foreach lib, $(libexecsub_LTLIBRARIES), $(gcc_build_dir)/$(lib)) liblto_plugin_la_SOURCES = lto-plugin.c # Note that we intentionally override the bindir supplied by ACX_LT_HOST_FLAGS. -liblto_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(lt_host_flags) -module \ +liblto_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(lt_host_flags) -module -avoid-version \ -bindir $(libexecsubdir) $(if $(wildcard \ $(libiberty_noasan)),, $(if $(wildcard \ $(libiberty_pic)),,-Wc,$(libiberty))) |