From ac98868e16314572f11ef14eed08b5e9f619d15b Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sat, 24 Mar 2018 22:04:10 +0100 Subject: [PATCH] -Wc90-c99-compat needs to be deactivated when compiling with MBEDTLS MBEDTLS headers are incompatible --- ports/Common.allports.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/Common.allports.mk b/ports/Common.allports.mk index a8bcb0f..7e9d2e4 100644 --- a/ports/Common.allports.mk +++ b/ports/Common.allports.mk @@ -67,7 +67,7 @@ CFLAGS+=-I. \ MBEDTLSDIR?=$(CONTRIBDIR)/../mbedtls ifneq (,$(wildcard $(MBEDTLSDIR)/include/mbedtls/*.h)) LDFLAGS+=-L$(MBEDTLSDIR)/library -lmbedtls -lmbedcrypto -lmbedx509 -CFLAGS+=-I$(MBEDTLSDIR)/include -Wno-redundant-decls -DLWIP_HAVE_MBEDTLS=1 +CFLAGS+=-I$(MBEDTLSDIR)/include -Wno-redundant-decls -DLWIP_HAVE_MBEDTLS=1 -Wno-c90-c99-compat endif include $(CONTRIBDIR)/Filelists.mk