pcre2: bump to 10.40
[kiss-trunc88.git] / wormhole-william / build
blob7b2e06d8271c99f2aa48c784b871cf8e87ae2ee9
1 #!/bin/sh -e
3 export CGO_CPPFLAGS="$CPPFLAGS"
4 export CGO_CFLAGS="$CFLAGS"
5 export CGO_CXXFLAGS="$CXXFLAGS"
6 export CGO_LDFLAGS="$LDFLAGS"
7 #export GOFLAGS="$GOFLAGS -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=vendor -modcacherw"
9 go build
11 mkdir -p "$1/usr/bin"
12 cp wormhole-william "$1/usr/bin/"