38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 346f9e3dd25cbdc2a45b9d97720405daf2696e04 Mon Sep 17 00:00:00 2001
|
|
From: Fabio M. Di Nitto <fdinitto@redhat.com>
|
|
Date: Apr 18 2023 05:31:00 +0000
|
|
Subject: build: dlm_controld disable annobin plugin
|
|
|
|
|
|
annobin plugin is not universally available and has several
|
|
prerequisite before it can be enabled.
|
|
|
|
For reference:
|
|
https://github.com/kronosnet/kronosnet/commit/9a8fd89bf52c8381f7c46f427a024eb3d70d0ccf
|
|
https://github.com/kronosnet/kronosnet/commit/e95bd0d2d1b996894f76e12716c66a3bbc637cc6
|
|
|
|
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
|
|
|
|
---
|
|
dlm_controld/Makefile | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile
|
|
index 2d37975..76f4b39 100644
|
|
--- a/dlm_controld/Makefile
|
|
+++ b/dlm_controld/Makefile
|
|
@@ -47,7 +47,9 @@ 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
|
|
+# Temporary disable annobin plugin
|
|
+# LIB_CFLAGS += -fplugin=annobin
|
|
|
|
BIN_LDFLAGS += $(LDFLAGS) -Wl,-z,relro -Wl,-z,now -pie
|
|
BIN_LDFLAGS += -lpthread -lrt -lcpg -lcmap -lcfg -lquorum -luuid
|
|
--
|
|
2.33.0
|
|
|