summaryrefslogtreecommitdiff
path: root/sysutils/dd_rescue/files/patch-Makefile
blob: d88779faa2df712d4461a4cc2d27370daf60b8bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- Makefile.orig	Fri Oct 22 16:38:03 2004
+++ Makefile	Sat Jul  2 23:40:24 2005
@@ -6,9 +6,6 @@
 
 DESTDIR = 
 
-CC = gcc
-RPM_OPT_FLAGS = -O2 -Wall -g
-CFLAGS = $(RPM_OPT_FLAGS) $(EXTRA_CFLAGS)
 DEFINES = -DVERSION=\"$(VERSION)\"
 INSTALL = install
 INSTALLFLAGS = -s
@@ -25,7 +22,7 @@
 default: $(TARGETS)
 
 dd_rescue: dd_rescue.c
-	$(CC) $(CFLAGS) $(DEFINES) $< -o $@
+	$(CC) $(CFLAGS) $(DEFINES) $(LIBS) $< -o $@
 
 clean:
 	rm -f $(TARGETS) $(OBJECTS) core