From 0dc6a0134cf4fd8b9d1b1688a63dc88e8a4488ea Mon Sep 17 00:00:00 2001 From: Alexander Aring Date: Feb 09 2022 14:39:36 +0000 Subject: dlm_controld: add -fplugin=annobin to CFLAGS This patch adds fplugin=annobin to the CFLAGS of dlm_controld. The tool annocheck gave a failure and it's recommended to add such flag to fix the issue. Afterwards the failure is gone. https://sourceware.org/annobin/annobin.html/Test-notes.html --- diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile index a92fdeb..9cf7152 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 +LIB_CFLAGS += $(CFLAGS) -fPIC -fplugin=annobin BIN_LDFLAGS += $(LDFLAGS) -Wl,-z,relro -Wl,-z,now -pie BIN_LDFLAGS += -lpthread -lrt -lcpg -lcmap -lcfg -lquorum -luuid