summarylogtreecommitdiffstats
path: root/1039-libcc1-fix-libcc1-s-install-path-and-rpath.patch
diff options
context:
space:
mode:
authorJohnny Halfmoon2018-09-15 23:45:23 +0200
committerJohnny Halfmoon2018-09-15 23:45:23 +0200
commitb1502a859fd1a6c20fad9f28a052e99da98dd7dc (patch)
treec15a97884933bf206f3119032cd0d60ca9f46932 /1039-libcc1-fix-libcc1-s-install-path-and-rpath.patch
downloadaur-arm-none-eabi-gcc73-linaro.tar.gz
initial commit
Diffstat (limited to '1039-libcc1-fix-libcc1-s-install-path-and-rpath.patch')
-rw-r--r--1039-libcc1-fix-libcc1-s-install-path-and-rpath.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/1039-libcc1-fix-libcc1-s-install-path-and-rpath.patch b/1039-libcc1-fix-libcc1-s-install-path-and-rpath.patch
new file mode 100644
index 00000000000..4232169f323
--- /dev/null
+++ b/1039-libcc1-fix-libcc1-s-install-path-and-rpath.patch
@@ -0,0 +1,29 @@
+diff -ur ../1/libcc1/Makefile.am ./libcc1/Makefile.am
+--- ../1/libcc1/Makefile.am 2018-06-12 19:23:46.000000000 +0200
++++ ./libcc1/Makefile.am 2018-09-15 22:02:50.670937188 +0200
+@@ -37,8 +37,8 @@
+ $(Wc)$(libiberty_normal)))
+ libiberty_dep = $(patsubst $(Wc)%,%,$(libiberty))
+
+-plugindir = $(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/plugin
+-cc1libdir = $(libdir)/$(libsuffix)
++cc1libdir = $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version)
++plugindir = $(cc1libdir)
+
+ if ENABLE_PLUGIN
+ plugin_LTLIBRARIES = libcc1plugin.la libcp1plugin.la
+Only in ./libcc1: Makefile.am.orig
+diff -ur ../1/libcc1/Makefile.in ./libcc1/Makefile.in
+--- ../1/libcc1/Makefile.in 2018-06-12 19:23:46.000000000 +0200
++++ ./libcc1/Makefile.in 2018-09-15 22:02:21.667644486 +0200
+@@ -303,8 +303,8 @@
+ $(Wc)$(libiberty_normal)))
+
+ libiberty_dep = $(patsubst $(Wc)%,%,$(libiberty))
+-plugindir = $(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/plugin
+-cc1libdir = $(libdir)/$(libsuffix)
++cc1libdir = $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version)
++plugindir = $(cc1libdir)
+ @ENABLE_PLUGIN_TRUE@plugin_LTLIBRARIES = libcc1plugin.la libcp1plugin.la
+ @ENABLE_PLUGIN_TRUE@cc1lib_LTLIBRARIES = libcc1.la
+ BUILT_SOURCES = c-compiler-name.h cp-compiler-name.h