diff options
author | Andrew Kozik | 2019-05-16 22:24:04 +0200 |
---|---|---|
committer | Andrew Kozik | 2019-05-16 22:24:04 +0200 |
commit | 10ce6c2fc641f24c8b983590a1f31acb6da9b275 (patch) | |
tree | fa6b098a86e5ff80763185d2b09b8ece12b2fac2 /PKGBUILD | |
parent | 43a731e081452e88219ecc3ef1bb4d84c1ebac84 (diff) | |
download | aur-10ce6c2fc641f24c8b983590a1f31acb6da9b275.tar.gz |
Moved to using mingw pthreads instead of the pthread shim provided by libressl
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -28,9 +28,14 @@ pkgver() { build() { cd "${srcdir}/${_gitname}" for _arch in $_architectures; do - mkdir -p "${srcdir}/build-${_arch}" && cp -a "${srcdir}/${_gitname}/"* "${srcdir}/build-${_arch}" && cd "${srcdir}/build-${_arch}" + mkdir -p "${srcdir}/build-${_arch}" + cp -a "${srcdir}/${_gitname}/"* "${srcdir}/build-${_arch}" + cd "${srcdir}/build-${_arch}" + ## Remove pthread shim code + patch include/compat/pthread.h < ../../01-pthread.patch ./autogen.sh - CC="${_arch}-gcc" CPPFLAGS="-D__MINGW_USE_VC2005_COMPAT" ./configure --host=${_arch} --prefix=/usr/${_arch} + CC="${_arch}-gcc" CCFLAGS="-pthread" CPPFLAGS="-D__MINGW_USE_VC2005_COMPAT"\ + ./configure --host=${_arch} --prefix=/usr/${_arch} make ## make check done |