disable warning in build
This commit is contained in:
parent
0ca90c49a5
commit
6bb78b7c9b
1 changed files with 4 additions and 4 deletions
|
@ -270,13 +270,13 @@ Linux client_static debian_amd64_strech build:
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
- apt-get install -y liblua5.2-0 liblua5.2-dev
|
- apt-get install -y liblua5.2-0 liblua5.2-dev
|
||||||
# Build Curl
|
# Build Curl
|
||||||
- wget -q https://curl.haxx.se/download/curl-7.58.0.tar.gz -O curl.tar.gz
|
- wget -q https://curl.haxx.se/download/curl-7.58.0.tar.gz -O curl.tar.gz
|
||||||
- mkdir -p curl/build
|
- mkdir -p curl/build
|
||||||
- tar xvf curl.tar.gz -C curl --strip 1
|
- tar xvf curl.tar.gz -C curl --strip 1
|
||||||
- (cd curl/build; cmake -DCMAKE_BUILD_TYPE=Release -DCURL_ZLIB=ON -DBUILD_CURL_EXE=OFF -DCURL_STATICLIB=ON -DHTTP_ONLY=ON -DENABLE_IPV6=ON -DCMAKE_USE_OPENSSL=ON -DOPENSSL_SSL_LIBRARIES=/usr/lib/x86_64-linux-gnu/libssl.a -DOPENSSL_CRYPTO_LIBRARIES=/usr/lib/x86_64-linux-gnu/libcrypto.a -DCMAKE_USE_LIBSSH2=OFF -DZLIB_LIBRARY=/usr/lib/x86_64-linux-gnu/libz.a -DCMAKE_C_FLAGS='-fPIC' ..)
|
- (cd curl/build; cmake -DCMAKE_BUILD_TYPE=Release -DCURL_ZLIB=ON -DBUILD_CURL_EXE=OFF -DCURL_STATICLIB=ON -DHTTP_ONLY=ON -DENABLE_IPV6=ON -DCMAKE_USE_OPENSSL=ON -DOPENSSL_SSL_LIBRARIES=/usr/lib/x86_64-linux-gnu/libssl.a -DOPENSSL_CRYPTO_LIBRARIES=/usr/lib/x86_64-linux-gnu/libcrypto.a -DCMAKE_USE_LIBSSH2=OFF -DZLIB_LIBRARY=/usr/lib/x86_64-linux-gnu/libz.a -DCMAKE_C_FLAGS='-fPIC' ..)
|
||||||
- (cd curl/build; make)
|
- (cd curl/build; make)
|
||||||
- (cd curl/build; make install)
|
- (cd curl/build; make install)
|
||||||
# Build
|
# Build luabind
|
||||||
- mkdir -p luabind
|
- mkdir -p luabind
|
||||||
- wget -q http://http.debian.net/debian/pool/main/l/luabind/luabind_0.9.1+dfsg.orig.tar.gz -O luabind.tar.gz
|
- wget -q http://http.debian.net/debian/pool/main/l/luabind/luabind_0.9.1+dfsg.orig.tar.gz -O luabind.tar.gz
|
||||||
- wget -q http://http.debian.net/debian/pool/main/l/luabind/luabind_0.9.1+dfsg-11.debian.tar.xz -O luabind-debian.tar.xz
|
- wget -q http://http.debian.net/debian/pool/main/l/luabind/luabind_0.9.1+dfsg-11.debian.tar.xz -O luabind-debian.tar.xz
|
||||||
|
@ -284,8 +284,8 @@ Linux client_static debian_amd64_strech build:
|
||||||
- tar xvf luabind-debian.tar.xz -C luabind || exit 2
|
- tar xvf luabind-debian.tar.xz -C luabind || exit 2
|
||||||
- cd luabind
|
- cd luabind
|
||||||
- for file in $(cat debian/patches/series); do patch -p1 < debian/patches/$file; done
|
- for file in $(cat debian/patches/series); do patch -p1 < debian/patches/$file; done
|
||||||
- export -p DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH); bjam -d2 release debug install cflags="-fPIC $(dpkg-buildflags --get CFLAGS)" cxxflags="-fPIC $(dpkg-buildflags --get CXXFLAGS)" linkflags=" $(dpkg-buildflags --get LDFLAGS)"
|
- export -p DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH); bjam -d2 release debug install cflags="-fPIC $(dpkg-buildflags --get CFLAGS)" cxxflags="-fPIC $(dpkg-buildflags --get CXXFLAGS) -Wno-deprecated-declarations" linkflags=" $(dpkg-buildflags --get LDFLAGS)"
|
||||||
- export -p DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH); bjam -d2 release debug install link=static cflags="-fPIC $(dpkg-buildflags --get CFLAGS)" cxxflags="-fPIC $(dpkg-buildflags --get CXXFLAGS)" linkflags=" $(dpkg-buildflags --get LDFLAGS)"
|
- export -p DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH); bjam -d2 release debug install link=static cflags="-fPIC $(dpkg-buildflags --get CFLAGS)" cxxflags="-fPIC $(dpkg-buildflags --get CXXFLAGS) -Wno-deprecated-declarations" linkflags=" $(dpkg-buildflags --get LDFLAGS)"
|
||||||
- cd ..
|
- cd ..
|
||||||
# Build libogg
|
# Build libogg
|
||||||
- mkdir -p libogg/build
|
- mkdir -p libogg/build
|
||||||
|
|
Loading…
Reference in a new issue