summaryrefslogtreecommitdiff
path: root/filesystems/cloudfuse/patches/patch-Makefile.in
blob: 8914b623b5a7685d095f61a25e9ba330fbd1b980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-Makefile.in,v 1.1 2021/12/02 07:44:44 pho Exp $

Honor LDFLAGS to support RELRO.

--- Makefile.in.orig	2021-12-02 07:41:24.551202241 +0000
+++ Makefile.in
@@ -26,7 +26,7 @@ $(bindir):
 	$(MKDIR_P) $(bindir)
 
 cloudfuse: $(SOURCES) $(HEADERS)
-	$(CC) $(CFLAGS) -o cloudfuse $(SOURCES) $(LIBS)
+	$(CC) $(CFLAGS) -o cloudfuse $(SOURCES) $(LIBS) $(LDFLAGS)
 
 clean:
 	/bin/rm -f cloudfuse