fix cjson compile issues

This commit is contained in:
ading2210 2024-01-03 22:46:02 -05:00
parent e030ca6712
commit e695b1d14a
6 changed files with 47 additions and 24 deletions

View file

@ -14,7 +14,10 @@ rm -rf cjson
git clone -b master --depth=1 https://github.com/DaveGamble/cJSON cjson
cd cjson
emmake make all
sed -i 's/-fstack-protector-strong//' Makefile
sed -i 's/-fstack-protector//' Makefile
emmake make CC="emcc" static
INCLUDE_FILES="cJSON.h cJSON_Utils.h"
LIB_FILES="libcjson.a libcjson_utils.a"