From 346f9e3dd25cbdc2a45b9d97720405daf2696e04 Mon Sep 17 00:00:00 2001 From: Fabio M. Di Nitto 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 --- diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile index 2d97453..28b6bb0 100644 --- a/dlm_controld/Makefile +++ b/dlm_controld/Makefile @@ -47,7 +47,10 @@ 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 -luuid