diff --git a/recipes-musicians/lsp-plugins/files/0001-Remove-RPATHs.patch b/recipes-musicians/lsp-plugins/files/0001-Remove-RPATHs.patch new file mode 100644 index 0000000..84e13fa --- /dev/null +++ b/recipes-musicians/lsp-plugins/files/0001-Remove-RPATHs.patch @@ -0,0 +1,33 @@ +From b207c69abfc8fea9b9d126f0366cfd5d84d95806 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 25 Mar 2019 00:14:49 +0100 +Subject: [PATCH] Remove RPATHs +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Andreas Müller +--- + scripts/make/tools.mk | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/scripts/make/tools.mk b/scripts/make/tools.mk +index 0507fbc3..65953201 100644 +--- a/scripts/make/tools.mk ++++ b/scripts/make/tools.mk +@@ -6,7 +6,7 @@ export LD ?= ld + export MAKE_OPTS = -s + export CFLAGS += $(CC_ARCH) -std=c++98 -fdata-sections -pthread -ffunction-sections -fno-exceptions -fno-asynchronous-unwind-tables -Wall -pipe -fno-rtti $(CC_FLAGS) -DLSP_MAIN_VERSION=\"$(VERSION)\" -DLSP_INSTALL_PREFIX=\"$(PREFIX)\" + export CXXFLAGS += $(CC_ARCH) -std=c++98 -fdata-sections -pthread -ffunction-sections -fno-exceptions -fno-asynchronous-unwind-tables -Wall -pipe -fno-rtti $(CC_FLAGS) -DLSP_MAIN_VERSION=\"$(VERSION)\" -DLSP_INSTALL_PREFIX=\"$(PREFIX)\" +-export SO_FLAGS = $(CC_ARCH) -Wl,-rpath,$(LD_PATH) -Wl,-z,relro,-z,now -Wl,--gc-sections -shared -Llibrary -lc -fPIC ++export SO_FLAGS = $(CC_ARCH) -Wl,-z,relro,-z,now -Wl,--gc-sections -shared -Llibrary -lc -fPIC + export MERGE_FLAGS = $(LD_ARCH) -r +-export EXE_TEST_FLAGS = $(LDFLAGS) $(CC_ARCH) -Wl,-rpath,$(LD_PATH) +-export EXE_FLAGS = $(LDFLAGS) $(CC_ARCH) -Wl,-rpath,$(LD_PATH) -Wl,-z,relro,-z,now -Wl,--gc-sections ++export EXE_TEST_FLAGS = $(LDFLAGS) $(CC_ARCH) ++export EXE_FLAGS = $(LDFLAGS) $(CC_ARCH) -Wl,-z,relro,-z,now -Wl,--gc-sections +-- +2.20.1 +