summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMaksym Telychko <maksym.telychko@globallogic.com>2019-07-26 12:19:15 +0300
committerMaksym Telychko <maksym.telychko@globallogic.com>2019-07-26 12:19:15 +0300
commit6c92f7176e69daaa56f8274f0059ccf70beb4fe8 (patch)
tree80eff11cd2342899e2e39ccabbe83871c24ff529 /Makefile
parent59bd86588878af7e3f541902e8f2ed3d125dde81 (diff)
downloadlibmts-io-6c92f7176e69daaa56f8274f0059ccf70beb4fe8.tar.gz
libmts-io-6c92f7176e69daaa56f8274f0059ccf70beb4fe8.tar.bz2
libmts-io-6c92f7176e69daaa56f8274f0059ccf70beb4fe8.zip
MTX-2891 mpower 2-3-4g switch: build and treat warnings as errors
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
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