summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch')
-rw-r--r--app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch b/app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch
new file mode 100644
index 000000000000..23a5d19d1cd7
--- /dev/null
+++ b/app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch
@@ -0,0 +1,19 @@
+--- wipe-2.3.1/Makefile.in
++++ wipe-2.3.1/Makefile.in
+@@ -5,6 +5,7 @@
+
+ CC=@CC@
+ CFLAGS=@CFLAGS@ -I@srcdir@ -D@OSTYPE@ $(DEFINES)
++LDFLAGS=@LDFLAGS@
+ DEBUG=@DEBUG@ -I@srcdir@ -D@OSTYPE@ $(DEFINES)
+
+ LIBS=@LIBS@
+@@ -31,7 +32,7 @@
+ all: $(REQ) $(BIN)
+
+ $(BIN): main.o wipe.o rand.o dir.o file.o blkdev.o lock.o text.o str.o percent.o prompt.o io.o mt.o
+- $(CC) $(LIBS) *.o -o $@
++ $(CC) $(LIBS) *.o -o $@ $(LDFLAGS)
+
+
+ # restores everything to a pre-configured state