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