summaryrefslogtreecommitdiffstats
path: root/package/empty
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2014-08-10 16:57:52 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-16 16:46:04 +0200
commitd3ab60a1ee008273fb895c8a656247d7535d0a0c (patch)
treedc0c432e04f9ac90b1b1a3b224d13cfc2d77b22a /package/empty
parent1b624c3964db20cc5b6b9a5159a03742a42a99df (diff)
downloadbuildroot-d3ab60a1ee008273fb895c8a656247d7535d0a0c.tar.gz
buildroot-d3ab60a1ee008273fb895c8a656247d7535d0a0c.zip
package/empty: Respect LDFLAGS, fix link order
Fixes http://autobuild.buildroot.net/results/50f/50fedb54cf005d1177d85c5a34fd10a1c354ba5b/ http://autobuild.buildroot.net/results/9fc/9fce0825772e99de3c6808b729641147385413aa/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/empty')
-rw-r--r--package/empty/empty-0001-respect-LDFLAGS.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/empty/empty-0001-respect-LDFLAGS.patch b/package/empty/empty-0001-respect-LDFLAGS.patch
new file mode 100644
index 0000000000..b98af07eac
--- /dev/null
+++ b/package/empty/empty-0001-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+downloaded from
+http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-misc/empty/files/empty-respect-LDFLAGS.patch?view=markup
+
+Reported on the Gentoo bug tracker
+https://bugs.gentoo.org/show_bug.cgi?id=429664
+
+and reported upstream
+https://sourceforge.net/tracker/?func=detail&aid=3554236&group_id=136798&atid=736886
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+--- empty-0.6.18b/Makefile
++++ empty-0.6.18b/Makefile
+@@ -16,7 +16,7 @@
+ PREFIX = /usr/local
+
+ all:
+- ${CC} ${CFLAGS} -Wall ${LIBS} -o empty empty.c
++ ${CC} ${CFLAGS} ${LDFLAGS} empty.c ${LIBS} -o empty
+
+ FreeBSD: all
+ NetBSD: all
OpenPOWER on IntegriCloud