crosstool-ng/packages/gnuprumcu/0.5.0/0000-HACK-Fix-paths-for-crosstool-ng.patch

35 lines
907 B
Diff
Raw Normal View History

From b045b2c65e26153813abadc2d065afdd52612fb0 Mon Sep 17 00:00:00 2001
From: Dimitar Dimitrov <dimitar@dinux.eu>
Date: Fri, 15 Jan 2021 18:52:09 +0200
Subject: [PATCH] HACK: Fix paths for crosstool-ng
For some reason crosstool-ng modifies the default
binutils/ld path for ldscripts. Align our respective
path.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
---
ldscripts/Makefile.am | 2 +-
ldscripts/Makefile.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/ldscripts/Makefile.am
+++ b/ldscripts/Makefile.am
@@ -47,4 +47,4 @@
pruelf-tda4vm.icssg1.tx_pru1.x
-prudir = $(exec_prefix)/$(target_alias)/lib
+prudir = $(libdir)
--- a/ldscripts/Makefile.in
+++ b/ldscripts/Makefile.in
@@ -300,7 +300,7 @@
pruelf-tda4vm.icssg1.tx_pru0.x \
pruelf-tda4vm.icssg1.tx_pru1.x
-prudir = $(exec_prefix)/$(target_alias)/lib
+prudir = $(libdir)
all: all-am
.SUFFIXES: