mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-02 13:20:51 +00:00
Add -Wno-error=format-truncation for test++ build
This commit is contained in:
1 parent
e00265f855
commit
e7b1905e49
1 file changed
+1
-1
@@ -41,7 +41,7 @@ mg_prefix: mongoose.c mongoose.h
|
||||
$(CLANG) mongoose.c $(CFLAGS) -c -o /tmp/x.o && nm /tmp/x.o | grep ' T' | grep -v 'mg_' ; test $$? = 1
|
||||
|
||||
# C++ build
|
||||
test++: CLANG = g++ -Wno-deprecated -Wno-missing-field-initializers
|
||||
test++: CLANG = g++ -Wno-deprecated -Wno-missing-field-initializers -Wno-error=format-truncation -Wno-unknown-warning-option
|
||||
test++: unamalgamated
|
||||
|
||||
# Make sure we can build from an unamalgamated sources
|
||||
|
||||
Reference in new issue
Block a user