mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-04-19 13:29:11 +00:00
Properly suppress implicit-function-declaration
.
This commit is contained in:
parent
396a23d275
commit
732dcdeebd
1 changed files with 2 additions and 4 deletions
|
@ -16,7 +16,6 @@ RUN set -ex; \
|
||||||
git checkout tor-$TOR_VERSION && \
|
git checkout tor-$TOR_VERSION && \
|
||||||
./autogen.sh && \
|
./autogen.sh && \
|
||||||
./configure \
|
./configure \
|
||||||
--enable-fatal-warnings=no \
|
|
||||||
--disable-asciidoc \
|
--disable-asciidoc \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--disable-unittests && \
|
--disable-unittests && \
|
||||||
|
@ -34,9 +33,8 @@ RUN set -ex; \
|
||||||
TORSOCKS_VERSION=${torsocks_version=$(git tag | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -1)} && \
|
TORSOCKS_VERSION=${torsocks_version=$(git tag | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -1)} && \
|
||||||
git checkout $TORSOCKS_VERSION && \
|
git checkout $TORSOCKS_VERSION && \
|
||||||
./autogen.sh && \
|
./autogen.sh && \
|
||||||
./configure \
|
./configure && \
|
||||||
--enable-fatal-warnings=no && \
|
make -j$(nproc) CFLAGS="-Wno-error=implicit-function-declaration" && make install && \
|
||||||
make -j$(nproc) && make install && \
|
|
||||||
cd .. && \
|
cd .. && \
|
||||||
rm -rf torsocks && \
|
rm -rf torsocks && \
|
||||||
apk del git gcc make automake autoconf musl-dev libtool
|
apk del git gcc make automake autoconf musl-dev libtool
|
||||||
|
|
Loading…
Add table
Reference in a new issue