From e01248c4cfd34a66517dc2c57d4478e3ce31ba43 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 28 Feb 2017 23:26:07 +0100 Subject: [PATCH] cjson: fix build for toolchains without ssp Set ENABLE_CUSTOM_COMPILER_FLAGS to OFF to disable custom flags, in particular -fstack-protector-strong which depends on BR2_TOOLCHAIN_HAS_SSP Fixes: http://autobuild.buildroot.net/results/cfcf3bc8066159dfddd1786954d78e8527858f2f/ Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/cjson/cjson.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk index aea9578526..c554654805 100644 --- a/package/cjson/cjson.mk +++ b/package/cjson/cjson.mk @@ -9,7 +9,10 @@ CJSON_SITE = $(call github,DaveGamble,cjson,$(CJSON_VERSION)) CJSON_INSTALL_STAGING = YES CJSON_LICENSE = MIT CJSON_LICENSE_FILES = LICENSE +# Set ENABLE_CUSTOM_COMPILER_FLAGS to OFF in particular to disable +# -fstack-protector-strong which depends on BR2_TOOLCHAIN_HAS_SSP CJSON_CONF_OPTS += \ - -DENABLE_CJSON_TEST=OFF + -DENABLE_CJSON_TEST=OFF \ + -DENABLE_CUSTOM_COMPILER_FLAGS=OFF $(eval $(cmake-package)) -- 2.30.2