File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 3
3
*******************************************************************************
4
4
5
5
=== 1.0.12 ===
6
-
6
+ * Updated build scripts.
7
7
8
8
=== 1.0.11 ===
9
9
* Removed Makefile.d. Dependencies are now automatically generated at the build stage.
Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ COMMON_VARS = \
192
192
ROOT_ARTIFACT_ID \
193
193
PROFILE \
194
194
STATICLIB_EXT \
195
+ STRICT \
195
196
TEST \
196
197
TRACE
197
198
@@ -216,6 +217,7 @@ sysvars:
216
217
echo " PLATFORM target software platform to perform build"
217
218
echo " PROFILE build with profile options"
218
219
echo " STATICLIB_EXT file extension for static library files"
220
+ echo " STRICT strict compilation: treat compilation warnings as errors"
219
221
echo " SUB_FEATURES list of features disabled in the build as a subtraction of default"
220
222
echo " TEST use test build"
221
223
echo " TRACE compile with additional trace information output"
Original file line number Diff line number Diff line change @@ -102,6 +102,11 @@ ifeq ($(TRACE),1)
102
102
CXXFLAGS_EXT += -DLSP_TRACE
103
103
endif
104
104
105
+ ifeq ($(STRICT ) ,1)
106
+ CFLAGS_EXT += -Werror
107
+ CXXFLAGS_EXT += -Werror
108
+ endif
109
+
105
110
ifeq ($(TEST ) ,1)
106
111
CFLAGS_EXT += -DLSP_TESTING
107
112
CXXFLAGS_EXT += -DLSP_TESTING
You can’t perform that action at this time.
0 commit comments