File: 0004-link-order.patch

package info (click to toggle)
gfxboot 4.5.103-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,184 kB
  • sloc: asm: 12,810; perl: 5,188; ansic: 4,018; pascal: 2,266; makefile: 569; xml: 256; sh: 235
file content (19 lines) | stat: -rw-r--r-- 608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Colin Watson <cjwatson@ubuntu.com>
Date: Sun, 3 Jan 2021 02:06:39 -0800
Subject: Fix link order with 'ld --as-needed' (Closes: #605771).

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ THEMES	 = themes/upstream themes/openSUS
 all:	bin2c gfxboot-compile bincode gfxboot-font addblack
 
 gfxboot-font: gfxboot-font.c
-	$(CC) $(CFLAGS) -I /usr/include/freetype2 -lfreetype $< -o $@
+	$(CC) $(CFLAGS) -I /usr/include/freetype2 $< -lfreetype -o $@
 
 gfxboot-compile: gfxboot-compile.c vocabulary.h bincode.h
 	$(CC) $(CFLAGS) $< -o $@