summaryrefslogtreecommitdiffstats
path: root/meta-sota/recipes-support/lshw/files/ldflags.patch
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-04-24 13:59:21 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2017-04-24 13:59:21 +0200
commitabe6250af91c4b3193511f4dd5fbfb7ee40d76d5 (patch)
tree040bcd7509accf453145b2c0c77b06d8e35a13e9 /meta-sota/recipes-support/lshw/files/ldflags.patch
parente4bc8c7058fbf27969a967a5e30f15fcf22544bd (diff)
Moved to meta-updater@github.com/advancedtelenmatic Change-Id: I7c89d373e43a88a89155c72de87c0b4b5238bc52 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'meta-sota/recipes-support/lshw/files/ldflags.patch')
-rw-r--r--meta-sota/recipes-support/lshw/files/ldflags.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/meta-sota/recipes-support/lshw/files/ldflags.patch b/meta-sota/recipes-support/lshw/files/ldflags.patch
deleted file mode 100644
index 83e0410..0000000
--- a/meta-sota/recipes-support/lshw/files/ldflags.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -Naur /home/anton/lshw-old/src/Makefile lshw-B.02.16/src/Makefile
---- /home/anton/lshw-old/src/Makefile 2017-02-07 16:21:52.554738182 +0100
-+++ lshw-B.02.16/src/Makefile 2017-02-07 16:22:45.578588072 +0100
-@@ -25,9 +25,9 @@
- ifeq ($(SQLITE), 1)
- CXXFLAGS+= -DSQLITE $(shell pkg-config --cflags sqlite3)
- endif
--LDFLAGS=-L./core/ -g
-+LDEXTRAS=-L./core/ -g
- ifneq ($(shell $(LD) --help 2| grep -- --as-needed), )
-- LDFLAGS+= -Wl,--as-needed
-+ LDEXTRAS+= -Wl,--as-needed
- endif
- LDSTATIC=-static
- LIBS=-llshw -lresolv
-@@ -37,7 +37,7 @@
-
- export CXXFLAGS
- export LIBS
--export LDFLAGS
-+export LDEXTRAS
-
- DATAFILES = pci.ids usb.ids oui.txt manuf.txt
-
-@@ -51,7 +51,7 @@
- +make -C core all
-
- $(PACKAGENAME): core $(PACKAGENAME).o
-- $(CXX) $(LDFLAGS) -o $@ $(PACKAGENAME).o $(LIBS)
-+ $(CXX) $(LDFLAGS) ${LDEXTRAS} -o $@ $(PACKAGENAME).o $(LIBS)
-
- .PHONY: po
- po:
-@@ -69,7 +69,7 @@
- static: $(PACKAGENAME)-static
-
- $(PACKAGENAME)-static: core core/lib$(PACKAGENAME).a $(PACKAGENAME).o
-- $(CXX) $(LDSTATIC) $(LDFLAGS) -o $@ $(PACKAGENAME).o $(LIBS)
-+ $(CXX) $(LDSTATIC) $(LDFLAGS) ${LDEXTRAS} -o $@ $(PACKAGENAME).o $(LIBS)
- $(STRIP) $@
-
- .PHONY: compressed