From 9f504e800d0d5c313fe53f814de110eb72090a0e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 27 Mar 2023 18:56:14 +0100 Subject: Add dlm patch to remove annobin requirement --- sys-cluster/dlm/remove-annobin.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sys-cluster/dlm/remove-annobin.patch (limited to 'sys-cluster/dlm') 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 -- cgit v1.2.3