blob: 353df2ad0b65699bd30155bad2daf63c2eac985d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#
--- sparse-bk/Makefile~vars 2004-09-13 17:45:43.304134000 -0400
+++ sparse-bk/Makefile 2004-09-13 17:46:04.980839384 -0400
@@ -1,4 +1,5 @@
CC=gcc
+CCLD=gcc
CFLAGS=-O -g -Wall
LDFLAGS=-g
AR=ar
@@ -26,22 +27,22 @@
if test $< -nt $(PREFIX)/bin/sparse ; then install -v $< $(PREFIX)/bin/sparse ; fi
test-lexing: test-lexing.o $(LIB_FILE)
- gcc $(LDFLAGS) -o $@ $< $(LIBS)
+ $(CCLD) $(LDFLAGS) -o $@ $< $(LIBS)
test-parsing: test-parsing.o $(LIB_FILE)
- gcc $(LDFLAGS) -o $@ $< $(LIBS)
+ $(CCLD) $(LDFLAGS) -o $@ $< $(LIBS)
test-linearize: test-linearize.o $(LIB_FILE)
- gcc $(LDFLAGS) -o $@ $< $(LIBS)
+ $(CCLD) $(LDFLAGS) -o $@ $< $(LIBS)
compile: compile.o compile-i386.o $(LIB_FILE)
- gcc $(LDFLAGS) -o $@ $< compile-i386.o $(LIBS)
+ $(CCLD) $(LDFLAGS) -o $@ $< compile-i386.o $(LIBS)
obfuscate: obfuscate.o $(LIB_FILE)
- gcc $(LDFLAGS) -o $@ $< $(LIBS)
+ $(CCLD) $(LDFLAGS) -o $@ $< $(LIBS)
check: check.o $(LIB_FILE)
- gcc $(LDFLAGS) -o $@ $< $(LIBS)
+ $(CCLD) $(LDFLAGS) -o $@ $< $(LIBS)
$(LIB_FILE): $(LIB_OBJS)
$(AR) rcs $(LIB_FILE) $(LIB_OBJS)
|