summaryrefslogtreecommitdiff
path: root/sysutils/dd_rescue/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/dd_rescue/files/patch-Makefile')
-rw-r--r--sysutils/dd_rescue/files/patch-Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/sysutils/dd_rescue/files/patch-Makefile b/sysutils/dd_rescue/files/patch-Makefile
index 49ea54b0836c..4cca0e9eb74a 100644
--- a/sysutils/dd_rescue/files/patch-Makefile
+++ b/sysutils/dd_rescue/files/patch-Makefile
@@ -1,16 +1,17 @@
---- Makefile.orig 2012-01-22 22:48:54.000000000 +0900
-+++ Makefile 2012-02-12 23:57:39.000000000 +0900
-@@ -6,9 +6,6 @@
+--- Makefile.orig 2013-01-25 15:02:54.000000000 +0900
++++ Makefile 2013-01-27 02:37:02.000000000 +0900
+@@ -6,10 +6,6 @@
DESTDIR =
-CC = gcc
-RPM_OPT_FLAGS = -Os -Wall -g
-CFLAGS = $(RPM_OPT_FLAGS) $(EXTRA_CFLAGS)
+-CFLAGS_OPT = $(CFLAGS) -O3
INSTALL = install
INSTALLFLAGS = -s
prefix = $(DESTDIR)/usr
-@@ -25,12 +22,6 @@
+@@ -26,12 +22,6 @@
DEFINES = -DVERSION=\"$(VERSION)\" -D__COMPILER__="\"$(COMPILER)\""
OUT = -o $@
@@ -22,13 +23,4 @@
-
default: $(TARGETS)
- libfalloc: dd_rescue.c
-@@ -43,7 +34,7 @@
- $(CC) $(CFLAGS) -DHAVE_FALLOCATE=1 $(DEFINES) $< -o dd_rescue
-
- dd_rescue: dd_rescue.c
-- $(CC) $(CFLAGS) $(DEFINES) $< $(OUT)
-+ $(CC) $(CFLAGS) $(DEFINES) $(LIBS) $< $(OUT)
-
- strip: dd_rescue
- strip -S $<
+ frandom.o: frandom.c