xref: /OK3568_Linux_fs/buildroot/package/empty/0001-respect-LDFLAGS.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1downloaded from
2http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-misc/empty/files/empty-respect-LDFLAGS.patch?view=markup
3
4Reported on the Gentoo bug tracker
5https://bugs.gentoo.org/show_bug.cgi?id=429664
6
7and reported upstream
8https://sourceforge.net/tracker/?func=detail&aid=3554236&group_id=136798&atid=736886
9
10Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
11
12--- empty-0.6.18b/Makefile
13+++ empty-0.6.18b/Makefile
14@@ -16,7 +16,7 @@
15 PREFIX = /usr/local
16
17 all:
18-	${CC} ${CFLAGS} -Wall ${LIBS} -o empty empty.c
19+	${CC} ${CFLAGS} ${LDFLAGS} empty.c ${LIBS} -o empty
20
21 FreeBSD:	all
22 NetBSD:		all
23