File: 0010-Pass-LDFLAGS-when-building-makehelp.patch

package info (click to toggle)
tf5 5.0beta8-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,736 kB
  • sloc: ansic: 25,484; perl: 103; makefile: 82; sh: 79
file content (23 lines) | stat: -rw-r--r-- 700 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Russ Allbery <rra@debian.org>
Date: Sat, 26 Dec 2020 13:22:02 -0800
Subject: Pass LDFLAGS when building makehelp

makehelp is not installed, so this doesn't really matter, but it
suppresses a warning in Debian's build log checker.
---
 unix/unix.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unix/unix.mak b/unix/unix.mak
index 944e0dd..b9698f6 100644
--- a/unix/unix.mak
+++ b/unix/unix.mak
@@ -140,7 +140,7 @@ LIBRARY $(TF_LIBDIR): ../tf-lib/tf-help ../tf-lib/tf-help.idx
 	rm -f worldqueue.tf;   ln -s  world-q.tf   worldqueue.tf;
 
 makehelp: makehelp.c
-	$(CC) $(CFLAGS) -o makehelp makehelp.c
+	$(CC) $(CFLAGS) $(LDFLAGS) -o makehelp makehelp.c
 
 __always__: