summaryrefslogtreecommitdiff
path: root/sys-fs/mdadm/files/mdadm-4.3-ldflags.patch
blob: e8e93d4245929df4091f9a012d3b442d30c4a2a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mdadm-4.3/Makefile.orig	2024-03-13 20:11:48.949678469 -0700
+++ mdadm-4.3/Makefile	2024-03-13 20:11:52.773671814 -0700
@@ -132,7 +132,7 @@
 MON_LDFLAGS += -pthread
 endif
 
-LDFLAGS = -Wl,-z,now,-z,noexecstack
+LDFLAGS += -Wl,-z,now,-z,noexecstack
 
 # If you want a static binary, you might uncomment these
 # LDFLAGS += -static