X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-flock%2Fstx-metal%2Ffiles%2Fmtce-libamon-add-shared-option.patch;fp=meta-starlingx%2Fmeta-stx-flock%2Fstx-metal%2Ffiles%2Fmtce-libamon-add-shared-option.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=a8ac5a038a9221a9daff382486a20da3ed2488d5;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-flock/stx-metal/files/mtce-libamon-add-shared-option.patch b/meta-starlingx/meta-stx-flock/stx-metal/files/mtce-libamon-add-shared-option.patch deleted file mode 100644 index a8ac5a0..0000000 --- a/meta-starlingx/meta-stx-flock/stx-metal/files/mtce-libamon-add-shared-option.patch +++ /dev/null @@ -1,30 +0,0 @@ -From d233ae2930996102bbdd16085b29058a4d01179c Mon Sep 17 00:00:00 2001 -From: Jackie Huang -Date: Tue, 9 Jun 2020 22:49:56 +0800 -Subject: [PATCH] libamon: add shared option - -The -shared option is set in the parent Makefile, but somehow -it's lost on CentOS, so add it diretly in the target command. - -Upstream-Status: Inappropriate [OE cross-compile specific] - -Signed-off-by: Jackie Huang ---- - public/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/public/Makefile b/public/Makefile -index 7dd80e4..1967a90 100644 ---- a/public/Makefile -+++ b/public/Makefile -@@ -37,7 +37,7 @@ ${TARGET_LIB}.${VER_MJR}: ${TARGET_LIB}.${VER} - ln -sf $^ $@ - - ${TARGET_LIB}.${VER}: $(OBJS) -- $(CC) ${LDFLAGS} -Wl,-soname,${TARGET_LIB}.${VER_MJR} -o $@ $^ -+ $(CC) ${LDFLAGS} -shared -Wl,-soname,${TARGET_LIB}.${VER_MJR} -o $@ $^ - - $(SRCS:.c=.d):%.d:%.c - $(CC) $(CFLAGS) -MM $< >$@ --- -2.7.4