File: cross.patch

package info (click to toggle)
letterize 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 136 kB
  • sloc: ansic: 189; makefile: 131; sh: 14
file content (22 lines) | stat: -rw-r--r-- 637 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
From: Nilesh Patra <nilesh@debian.org>
Date: Sat, 10 Feb 2024 14:32:52 +0000
Subject: Make build cross buildable by not hardcoding gcc

Last-Update: 2021-09-06
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ee5fe2d..8a39b68 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ VERS=$(shell sed -n <NEWS '/^[0-9]/s/:.*//p' | head -1)
 all: letterize
 
 letterize: letterize.c
-	gcc -o letterize $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) letterize.c
+	$(CC) -o letterize $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) letterize.c
 
 SOURCES = README COPYING NEWS letterize.adoc Makefile letterize.c