diff options
author | Michel Zou | 2019-11-29 19:30:50 +0100 |
---|---|---|
committer | Michel Zou | 2019-11-29 19:30:50 +0100 |
commit | d7b3b10ce046edb57cec2e0b9f37971dccf8f001 (patch) | |
tree | 1e9ac7f7be8e34d6bd9c1deaa15f3dd299a60e1f | |
parent | 7ae2cfffe75f0a6a1231d06de6bf6faca75fb803 (diff) | |
download | aur-d7b3b10ce046edb57cec2e0b9f37971dccf8f001.tar.gz |
linkflags
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 6 deletions
@@ -6,9 +6,6 @@ pkgbase = mingw-w64-boost arch = any license = custom makedepends = mingw-w64-gcc - makedepends = bzip2 - makedepends = zlib - makedepends = python2 depends = mingw-w64-zstd depends = mingw-w64-bzip2 options = !strip @@ -7,7 +7,7 @@ arch=('any') url="http://www.boost.org/" license=('custom') depends=('mingw-w64-zstd' 'mingw-w64-bzip2') -makedepends=('mingw-w64-gcc' 'bzip2' 'zlib' 'python2') +makedepends=('mingw-w64-gcc') options=('!strip' '!buildflags' 'staticlibs') source=("https://dl.bintray.com/boostorg/release/${pkgver}/source/boost_${_boostver}.tar.bz2" "boost-mingw.patch") @@ -36,7 +36,7 @@ using gcc : mingw64 : ${_arch:3}-g++ <archiver>${_arch:3}-ar ; EOF - ./bootstrap.sh --with-toolset=gcc --with-python=/usr/bin/python2 + ./bootstrap.sh --with-toolset=gcc popd done } @@ -45,7 +45,7 @@ package() { cd "${srcdir}" for _arch in ${_architectures}; do pushd "build-${_arch:3}" - ./b2 -d+2 -q ${MAKEFLAGS} \ + ./b2 -d2 -q ${MAKEFLAGS} \ target-os=windows \ variant=release \ threading=multi \ @@ -56,6 +56,7 @@ package() { --user-config=user-config.jam \ --without-python --without-mpi --without-graph_parallel \ cxxflags="-std=c++14 -D_FORTIFY_SOURCE=2 -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4" \ + linkflags="-Wl,-O1,--sort-common,--as-needed -fstack-protector" \ address-model=${_arch:0:2} \ architecture=x86 \ binary-format=pe \ |