From 72019b7427b2c4618adb5d5e04eab8183530d39a Mon Sep 17 00:00:00 2001 From: cpq Date: Mon, 7 Dec 2020 04:18:29 +0000 Subject: [PATCH] Tuning test --- .travis.yml | 3 +++ Makefile | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2ce83db7..202778a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,9 @@ matrix: - os: osx compiler: clang script: make mg_prefix + - os: osx + compiler: clang + script: ls -l /usr/include/mbedtls - os: linux compiler: msvc98 script: make vc98 vc2017 diff --git a/Makefile b/Makefile index 3ad9d6c6..268a1b97 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,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 +test++: CLANG = g++ -Wno-deprecated -Wno-missing-field-initializers test++: unamalgamated # Make sure we can build from an unamalgamated sources @@ -73,8 +73,7 @@ linux: clean 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++ -linux++: CFLAGS += -Wno-missing-field-initializers +linux++: CC = g++ -Wno-missing-field-initializers linux++: linux mongoose.c: $(SRCS) Makefile