From c884d6cbebf99bb18edeba95fcb1a4191f538f01 Mon Sep 17 00:00:00 2001 From: Maksym Telychko Date: Thu, 25 Jul 2019 17:44:41 +0300 Subject: MTX-2891 mpower: partial build fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8472075..5cfc70f 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,7 @@ $(APPNAME).a: $(OBJS) $(AR) -rs $@ $? $(SONAME): $(OBJS) - $(CC) $(LDFLAGS) -o $@ $? $(LDLIBS) + $(CC) $(LDFLAGS) -o $@ $+ $(LDLIBS) # Handle header dependencies DEPS = $(OBJS:.o=.d) -- cgit v1.2.3 From 6c92f7176e69daaa56f8274f0059ccf70beb4fe8 Mon Sep 17 00:00:00 2001 From: Maksym Telychko Date: Fri, 26 Jul 2019 12:19:15 +0300 Subject: MTX-2891 mpower 2-3-4g switch: build and treat warnings as errors --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5cfc70f..8e71154 100644 --- a/Makefile +++ b/Makefile @@ -41,8 +41,7 @@ OBJS += \ src/MTS_IO_SerialConnection.o CC := $(CXX) -#-Werror -CXXFLAGS += -Wall -std=c++0x -fmessage-length=0 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden +CXXFLAGS += -Wall -Werror -std=c++0x -fmessage-length=0 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden CPPFLAGS += -I=/usr/include/jsoncpp -Iinclude LDFLAGS += -s -shared -Wl,-soname,$(APPNAME).so.0 -- cgit v1.2.3