mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-15 02:08:08 +08:00
Add -Wno-error=format-truncation for linux++ build
This commit is contained in:
parent
cd36708b6d
commit
e00265f855
2
Makefile
2
Makefile
@ -92,7 +92,7 @@ linux: Makefile mongoose.c mongoose.h test/unit_test.c
|
||||
$(GCC) $(CC) mongoose.c test/unit_test.c $(CFLAGS) $(LDFLAGS) -o unit_test_gcc
|
||||
$(GCC) ./unit_test_gcc
|
||||
|
||||
linux++: CC = g++ -Wno-missing-field-initializers
|
||||
linux++: CC = g++ -Wno-missing-field-initializers -Wno-error=format-truncation
|
||||
linux++: linux
|
||||
|
||||
mongoose.c: $(SRCS) Makefile
|
||||
|
Loading…
x
Reference in New Issue
Block a user