X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-nfv%2Ffiles%2Fuse-ldflags-mtce-guest.patch;fp=meta-stx%2Frecipes-core%2Fstx-nfv%2Ffiles%2Fuse-ldflags-mtce-guest.patch;h=eab5e65499371beb4f18864aae7ed5185fb0631d;hb=57fdea704bd62af847872c40508f00aa1d7cac60;hp=0000000000000000000000000000000000000000;hpb=f23f21bccfb750b9e30141fd9676515215ffbc4e;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-nfv/files/use-ldflags-mtce-guest.patch b/meta-stx/recipes-core/stx-nfv/files/use-ldflags-mtce-guest.patch new file mode 100644 index 0000000..eab5e65 --- /dev/null +++ b/meta-stx/recipes-core/stx-nfv/files/use-ldflags-mtce-guest.patch @@ -0,0 +1,15 @@ +diff --git a/mtce-guest/src/Makefile b/mtce-guest/src/Makefile +index 40dd933..ba6e029 100644 +--- a/mtce-guest/src/Makefile ++++ b/mtce-guest/src/Makefile +@@ -31,8 +31,8 @@ LDLIBS = $(EXTRALDFLAGS) -lstdc++ -ldaemon -lcommon -lfmcommon -ljson-c -levent + INCLUDES = -I. -I/usr/include/mtce-common -I/usr/include/mtce-daemon + + build: $(OBJS) +- $(CXX) $(CCPFLAGS) $(AGENT_OBJS) $(LDLIBS) -L. -o guestAgent +- $(CXX) $(CCPFLAGS) $(SERVER_OBJS) $(LDLIBS) -L. -o guestServer ++ $(CXX) $(CCPFLAGS) $(LDFLAGS) $(AGENT_OBJS) $(LDLIBS) -L. -o guestAgent ++ $(CXX) $(CCPFLAGS) $(LDFLAGS) $(SERVER_OBJS) $(LDLIBS) -L. -o guestServer + + .cpp.o: + $(CXX) $(INCLUDES) $(CCPFLAGS) $(EXTRACCFLAGS) -c $< -o $@