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 && \
|
||||
./autogen.sh && \
|
||||
./configure \
|
||||
--enable-fatal-warnings=no \
|
||||
--disable-asciidoc \
|
||||
--sysconfdir=/etc \
|
||||
--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)} && \
|
||||
git checkout $TORSOCKS_VERSION && \
|
||||
./autogen.sh && \
|
||||
./configure \
|
||||
--enable-fatal-warnings=no && \
|
||||
make -j$(nproc) && make install && \
|
||||
./configure && \
|
||||
make -j$(nproc) CFLAGS="-Wno-error=implicit-function-declaration" && make install && \
|
||||
cd .. && \
|
||||
rm -rf torsocks && \
|
||||
apk del git gcc make automake autoconf musl-dev libtool
|
||||
|
|
Loading…
Add table
Reference in a new issue