View | Details | Raw Unified | Return to bug 47124 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-Makefile (+27 lines)
Added Link Here
1
--- Makefile	Wed Apr 10 14:35:25 2002
2
+++ Makefile	Wed Jan 15 23:28:44 2003
3
@@ -3,10 +3,10 @@
4
 # Copyright (c) 1996-2002 by Solar Designer
5
 #
6
 
7
-CPP = gcc
8
-CC = gcc
9
-AS = gcc
10
-LD = gcc
11
+CC ?= gcc
12
+CPP = $(CC)
13
+AS = $(CC)
14
+LD = $(CC)
15
 CP = cp
16
 LN = ln -sf
17
 RM = rm -f
18
@@ -14,7 +14,8 @@
19
 SED = sed
20
 NULL = /dev/null
21
 CPPFLAGS = -E
22
-CFLAGS = -c -Wall -O2 -fomit-frame-pointer
23
+CFLAGS ?= -O2
24
+CFLAGS += -c -Wall -fomit-frame-pointer
25
 ASFLAGS = -c
26
 LDFLAGS = -s
27
 OPT_NORMAL = -funroll-loops

Return to bug 47124