blob: 63028292672e462c124575953fc67eba6c4b23c6 [file] [log] [blame]
Andrew Geissler8f840682023-07-21 09:09:43 -05001From 5a0799d0bacc0cf93e15febdac7d8c50b21e7234 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 15 Jul 2023 13:13:12 -0700
4Subject: [PATCH] Disable annobin plugin
5
6OE gcc does not build this plugin, moreover there are non gcc compilers
7which can be used with OE as well e.g. clang which might not have it
8either
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 dlm_controld/Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile
17index 8802d88..0380ec9 100644
18--- a/dlm_controld/Makefile
19+++ b/dlm_controld/Makefile
20@@ -47,7 +47,7 @@ CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
21
22 BIN_CFLAGS += $(CFLAGS) -fPIE -DPIE
23 BIN_CFLAGS += -I../include -I../libdlm
24-LIB_CFLAGS += $(CFLAGS) -fPIC -fplugin=annobin
25+LIB_CFLAGS += $(CFLAGS) -fPIC
26
27 BIN_LDFLAGS += $(LDFLAGS) -Wl,-z,relro -Wl,-z,now -pie
28 BIN_LDFLAGS += -lpthread -lrt -lcpg -lcmap -lcfg -lquorum -luuid
29--
302.41.0
31