blob: a0d6dec67de9ab61d12ed1a84632907b9d06501e (
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
|
Index: cdtool-2.1.5/Makefile
===================================================================
--- cdtool-2.1.5.orig/Makefile
+++ cdtool-2.1.5/Makefile
@@ -68,7 +68,7 @@ all::
make noobjs
make cdown
make cdadd
- make cdctrl DEBUG_FLAGS="-O -s -DCDCTRL"
+ make cdctrl DEBUG_FLAGS="-O -s" CC="$(CC) -DCDCTRL"
make noobjs
make cdtool DEBUG_FLAGS="-O -s"
make links
@@ -113,13 +113,13 @@ rpm: $(SRCS) $(OTHERS)
rpm -ba $(THISVER)-$(THISREL).spec
cdown: cdown.c
- $(CC) -o cdown $(DEBUG_FLAGS) cdown.c
+ $(CC) $(LDFLAGS) -o cdown $(DEBUG_FLAGS) cdown.c
cdtool: $(OBJS)
- $(CC) -o cdtool $(OBJS)
+ $(CC) $(LDFLAGS) -o cdtool $(OBJS)
cdctrl: $(OBJS1)
- $(CC) -o cdctrl $(OBJS1)
+ $(CC) $(LDFLAGS) -o cdctrl $(OBJS1)
cdadd: cdadd.sh
sed s,@BINDIR@,$(BINDIR),g < $< > $@
|