meta-starlingx: remove the upstream layer
[pti/rtp.git] / meta-starlingx / meta-stx-flock / stx-fault / files / 0001-fm-common-add-LDFLAGS.patch
diff --git a/meta-starlingx/meta-stx-flock/stx-fault/files/0001-fm-common-add-LDFLAGS.patch b/meta-starlingx/meta-stx-flock/stx-fault/files/0001-fm-common-add-LDFLAGS.patch
deleted file mode 100644 (file)
index 45938b2..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-From 78585fade2d47fc0aa98b7e2fb494385466007da Mon Sep 17 00:00:00 2001
-From: babak sarashki <babak.sarashki@windriver.com>
-Date: Thu, 27 Jun 2019 14:36:59 -0700
-Subject: [PATCH 1/2] Honor the build system LDFLAGS
-
----
- Makefile | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 7b1ea03..7c7e4c7 100755
---- a/Makefile
-+++ b/Makefile
-@@ -25,12 +25,13 @@ build: lib fmClientCli
-       $(CXX) $(CCFLAGS) $(INCLUDES) $(EXTRACCFLAGS) -c $< -o $@
- lib: $(OBJS)
--      $(CXX) -Wl,-soname,$(LIBFMCOMMON_SO).$(MAJOR) -o $(LIBFMCOMMON_SO).$(MAJOR).$(MINOR) -shared $(OBJS) $(EXTRAARFLAGS) ${LDLIBS}
-+      $(CXX) $(LDFLAGS) -Wl,-soname,$(LIBFMCOMMON_SO).$(MAJOR) \
-+              -o $(LIBFMCOMMON_SO).$(MAJOR).$(MINOR) $(OBJS) $(EXTRAARFLAGS) ${LDLIBS}
-       ln -sf $(LIBFMCOMMON_SO).$(MAJOR).$(MINOR) $(LIBFMCOMMON_SO).$(MAJOR)
-       ln -sf $(LIBFMCOMMON_SO).$(MAJOR).$(MINOR) $(LIBFMCOMMON_SO)
- fmClientCli: $(CLI_OBJS) lib
--      $(CXX) -o $@ $(CLI_OBJS) -L./ -lfmcommon
-+      $(CXX) $(LDFLAGS) -o $@ $(CLI_OBJS) -L./ -lfmcommon
- clean:
-       @rm -f $(OBJ) *.o *.so fmClientCli
--- 
-2.17.1
-