diff --git a/.build.sh b/.build.sh index 4eafa4e..1138050 100755 --- a/.build.sh +++ b/.build.sh @@ -4,10 +4,10 @@ export CC="gcc -static" git clone https://github.com/jedisct1/libsodium --depth=1 --branch stable cd libsodium || exit 1 -./autogen.sh && ./configure CFLAGS=-flto LDFLAGS=-flto --enable-minimal --disable-shared --prefix=/usr && make install +./autogen.sh && ./configure --enable-minimal --disable-shared --prefix=/usr && make install cd .. -./autogen.sh && ./configure CFLAGS=-flto LDFLAGS=-flto && make +./autogen.sh && ./configure && make [ -x glorytun ] || exit 1 mkdir -p deploy