From: Alexander Aring Date: Tue, 8 Feb 2022 16:37:48 -0500 Subject: [Cluster-devel] [PATCH dlm-tool 2/3] dlm_controld: add -fplugin=annobin to CFLAGS In-Reply-To: <20220208213749.997455-1-aahringo@redhat.com> References: <20220208213749.997455-1-aahringo@redhat.com> Message-ID: <20220208213749.997455-3-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- dlm_controld/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile index a92fdebe..9cf7152f 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 -- 2.31.1