summaryrefslogtreecommitdiff
path: root/sys-cluster/dlm
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-27 18:56:14 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-27 18:56:14 +0100
commit9f504e800d0d5c313fe53f814de110eb72090a0e (patch)
treeb307e390d69d775b4f0ae9b3c1fa424a34765656 /sys-cluster/dlm
parentPatch for Apache RemoteIPProxyProtocol: unsupported command 20 (diff)
downloadpatches-9f504e800d0d5c313fe53f814de110eb72090a0e.tar.bz2
patches-9f504e800d0d5c313fe53f814de110eb72090a0e.tar.xz
patches-9f504e800d0d5c313fe53f814de110eb72090a0e.zip
Add dlm patch to remove annobin requirement
Diffstat (limited to 'sys-cluster/dlm')
-rw-r--r--sys-cluster/dlm/remove-annobin.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-cluster/dlm/remove-annobin.patch b/sys-cluster/dlm/remove-annobin.patch
new file mode 100644
index 0000000..c7b811a
--- /dev/null
+++ b/sys-cluster/dlm/remove-annobin.patch
@@ -0,0 +1,13 @@
+diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile
+index 9cf7152f..a92fdebe 100644
+--- a/dlm_controld/Makefile
++++ b/dlm_controld/Makefile
+@@ -47,7 +47,7 @@ CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
+
+ BIN_CFLAGS += $(CFLAGS) -fPIE -DPIE
+ BIN_CFLAGS += -I../include -I../libdlm
+-LIB_CFLAGS += $(CFLAGS) -fPIC -fplugin=annobin
++LIB_CFLAGS += $(CFLAGS) -fPIC
+
+ BIN_LDFLAGS += $(LDFLAGS) -Wl,-z,relro -Wl,-z,now -pie
+ BIN_LDFLAGS += -lpthread -lrt -lcpg -lcmap -lcfg -lquorum -luuid