From 62a2ad40343fbf1cfab38d442f50ecaee1f62cc5 Mon Sep 17 00:00:00 2001 From: Xiaonan Shen Date: Wed, 4 May 2022 20:47:17 +0800 Subject: [PATCH] Fix 32 bit build --- build.sh | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index aef0d7d..a291f88 100644 --- a/build.sh +++ b/build.sh @@ -15,11 +15,14 @@ ls /build rm -rf internal/frontend/cli cp -r /build/http_rest_frontend/cli internal/frontend/cli -# Workaround for 32bit build. More details can be found in: -# https://github.com/antlr/antlr4/issues/2433#issuecomment-774514106 -if [[ $(uname -m) == "armv7l" ]]; then - find $(go env GOPATH)/pkg/mod/github.com/\!proton\!mail/go-rfc5322*/ -type f -exec sed -i.bak 's/(1<