From 6364a73349ec76183bdd8240d04fde968dbafea7 Mon Sep 17 00:00:00 2001 From: Ivan Mahonin Date: Nov 11 2017 11:38:40 +0000 Subject: fix jsonc --- diff --git a/docker-builder-data/build/script/packet/jsonc-0.12.1.sh b/docker-builder-data/build/script/packet/jsonc-0.12.1.sh index 6cd6f93..b9503d1 100644 --- a/docker-builder-data/build/script/packet/jsonc-0.12.1.sh +++ b/docker-builder-data/build/script/packet/jsonc-0.12.1.sh @@ -10,3 +10,10 @@ if [ "$PLATFORM" = "win" ]; then fi source $INCLUDE_SCRIPT_DIR/inc-pkall-default.sh + +pkhook_prebuild() { + if [ ! -f "Makefile.in.orig" ]; then + mv Makefile.in Makefile.in.orig + fi + cat Makefile.in.orig | sed -e 's| -Werror | |g' > Makefile.in +} \ No newline at end of file