summaryrefslogtreecommitdiffstats
path: root/package/lynx/0001-src-chrtrans-don-t-build-host-tools-with-target-LDFL.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2018-08-19 14:44:00 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-20 14:05:47 +0200
commit563246b262bc513c650fb8f14383da02adda71d1 (patch)
treede5a9ce764793104f2c5daad6b21ae1841f3a5b8 /package/lynx/0001-src-chrtrans-don-t-build-host-tools-with-target-LDFL.patch
parentac6fedda6b43996545ff498cd19a781698a96050 (diff)
downloadbuildroot-563246b262bc513c650fb8f14383da02adda71d1.tar.gz
buildroot-563246b262bc513c650fb8f14383da02adda71d1.zip
package/lynx: bump version to 2.8.9rel.1
Changelog: http://lynx.invisible-island.net/current/CHANGES Removed patch 0001, quoted from Changelog: * when cross-compiling, trim LDFLAGS from makefile rule linking makeuctb, because it is a build tool, which should generally use BUILD_LDFLAGS (patch by Thomas Petazzoni) Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/lynx/0001-src-chrtrans-don-t-build-host-tools-with-target-LDFL.patch')
-rw-r--r--package/lynx/0001-src-chrtrans-don-t-build-host-tools-with-target-LDFL.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/package/lynx/0001-src-chrtrans-don-t-build-host-tools-with-target-LDFL.patch b/package/lynx/0001-src-chrtrans-don-t-build-host-tools-with-target-LDFL.patch
deleted file mode 100644
index cc057cee13..0000000000
--- a/package/lynx/0001-src-chrtrans-don-t-build-host-tools-with-target-LDFL.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From bb47abe9e7996147f6b7b325f5c9b2143abf8f13 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-Date: Mon, 7 May 2018 22:00:52 +0200
-Subject: [PATCH] src/chrtrans: don't build host tools with target LDFLAGS
-
-In a cross-compilation context, the LDFLAGS variable contains linker
-flags used when building things for the target. However, the makeuctb
-tool is built for the host machine, and therefore should not use the
-same LDFLAGS as the target, which is why BUILD_LDFLAGS exist.
-
-Using LDFLAGS when building a tool for the host can cause problems
-when some flags in LDFLAGS are not supported by the host machine. For
-example, if you're linking statically lynx for the target, but the
-build machine does not support static linking:
-
-gcc -I../.. -I../../src -I../../src/chrtrans -I../../WWW/Library/Implementation -I../../ -static -o makeuctb makeuctb.o
-/usr/bin/ld: cannot find -lc
-collect2: error: ld returned 1 exit status
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-Upstream-status: submitted on the mailing list
----
- src/chrtrans/makefile.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/chrtrans/makefile.in b/src/chrtrans/makefile.in
-index aab358f..6e0ef03 100644
---- a/src/chrtrans/makefile.in
-+++ b/src/chrtrans/makefile.in
-@@ -123,7 +123,7 @@ OBJS = makeuctb$o
- C_SRC = $(OBJS:$o=.c)
-
- $(MAKEUCTB) : $(OBJS)
-- $(BUILD_CC) $(CC_OPTS) $(LDFLAGS) $(BUILD_LDFLAGS) -o $@ $(OBJS) $(INTLLIB) $(BUILD_LIBS)
-+ $(BUILD_CC) $(CC_OPTS) $(BUILD_LDFLAGS) -o $@ $(OBJS) $(INTLLIB) $(BUILD_LIBS)
-
- makeuctb$o : $(srcdir)/UCkd.h $(srcdir)/makeuctb.c
-
---
-2.14.3
-
OpenPOWER on IntegriCloud