From 6884cdbf2a308d3db3fb6636415065bdea1faec9 Mon Sep 17 00:00:00 2001 From: Alexander Georgievskiy Date: Fri, 17 Mar 2017 04:28:18 +0000 Subject: [PATCH] Upd libspectre fixes #2287 (#2310) --- mingw-w64-libspectre/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mingw-w64-libspectre/PKGBUILD b/mingw-w64-libspectre/PKGBUILD index 66ac9c49db..fb48efb457 100644 --- a/mingw-w64-libspectre/PKGBUILD +++ b/mingw-w64-libspectre/PKGBUILD @@ -33,10 +33,9 @@ prepare() { } build() { - mkdir -p build-${MINGW_CHOST} - cd build-${MINGW_CHOST} + cd ${_realname}-${pkgver} - ../${_realname}-${pkgver}/configure \ + ./configure \ --host=${MINGW_CHOST} \ --target=${MINGW_CHOST} \ --build=${MINGW_CHOST} \ @@ -47,6 +46,7 @@ build() { } package() { - cd "${srcdir}/build-${MINGW_CHOST}" + cd ${_realname}-${pkgver} + make DESTDIR=${pkgdir} install }