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