summaryrefslogtreecommitdiff
path: root/sys-cluster/dlm/remove-annobin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/dlm/remove-annobin.patch')
-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