mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
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 <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
9647c3c5e9
commit
e01248c4cf
@ -9,7 +9,10 @@ CJSON_SITE = $(call github,DaveGamble,cjson,$(CJSON_VERSION))
|
|||||||
CJSON_INSTALL_STAGING = YES
|
CJSON_INSTALL_STAGING = YES
|
||||||
CJSON_LICENSE = MIT
|
CJSON_LICENSE = MIT
|
||||||
CJSON_LICENSE_FILES = LICENSE
|
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 += \
|
CJSON_CONF_OPTS += \
|
||||||
-DENABLE_CJSON_TEST=OFF
|
-DENABLE_CJSON_TEST=OFF \
|
||||||
|
-DENABLE_CUSTOM_COMPILER_FLAGS=OFF
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user