From 457256b2d800b599e0e994673d63a95af4811136 Mon Sep 17 00:00:00 2001 From: "Yang, Xiao" Date: Tue, 7 Nov 2017 13:21:13 +0800 Subject: [PATCH] [MAKE] MQTT_DIRECT by default and skip ANSI_C for src/coap Signed-off-by: Yang, Xiao --- make.settings | 2 +- src/coap/iot.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/make.settings b/make.settings index 6ba7f4599..a18b2ac90 100644 --- a/make.settings +++ b/make.settings @@ -11,6 +11,6 @@ PLATFORM_OS = linux # PLATFORM_AR = /home/edward/cached-toolchains/jcg.7620/bin/mipsel-linux-ar FEATURE_MQTT_COMM_ENABLED = y -FEATURE_MQTT_DIRECT = n +FEATURE_MQTT_DIRECT = y FEATURE_MQTT_DIRECT_NOTLS = n FEATURE_COAP_COMM_ENABLED = y diff --git a/src/coap/iot.mk b/src/coap/iot.mk index 1618c40e2..59f0d1893 100644 --- a/src/coap/iot.mk +++ b/src/coap/iot.mk @@ -1,5 +1,6 @@ LIBA_TARGET := libcoap.a HDR_REFS := src +CFLAGS := $(filter-out -ansi,$(CFLAGS)) DEPENDS += src/external/mbedtls