You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fdupes/fdupes-1.51-obey-ldflags.patch

39 lines
1.1 KiB

From b8f3a4ea82bbff053ba785fb2e719d2ac6d82e15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <bjoern.esser@gmail.com>
Date: Fri, 19 Jun 2015 22:15:52 -0400
Subject: [PATCH] obey ldflags
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
backport of patch submitted to fedora dist-git repo for fdupes
cherry picked from commit: b8f3a4ea82bbff053ba785fb2e719d2ac6d82e15
commit 2fefedf7da42a6e73894e6d361e65b054ce80001
Author: Björn Esser <bjoern.esser@gmail.com>
Date: Tue Mar 18 13:51:11 2014 +0100
added Patch3: fdupes-1.51-obey-ldflags.patch to repo
Signed-off-by: Jon Schlueter <jschluet@redhat.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 921d910..e6947ea 100644
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,7 @@ OBJECT_FILES = fdupes.o md5/md5.o $(ADDITIONAL_OBJECTS)
all: fdupes
fdupes: $(OBJECT_FILES)
- $(CC) $(CFLAGS) -o fdupes $(OBJECT_FILES)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o fdupes $(OBJECT_FILES)
installdirs:
test -d $(DESTDIR)$(BIN_DIR) || $(MKDIR) $(DESTDIR)$(BIN_DIR)
--
2.1.0