From 6f14e3470a7c6fd7b273a2fbf2da7cb24d71ceed Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 26 Mar 2019 21:38:04 +0100 Subject: [PATCH] Change the workaround for building mingw-w64 packages https://github.com/Martchus/PKGBUILDs/issues/86 has been fixed and https://gitlab.kitware.com/cmake/cmake/issues/19095 has been opened --- syncthingtray/mingw-w64-static/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syncthingtray/mingw-w64-static/PKGBUILD b/syncthingtray/mingw-w64-static/PKGBUILD index 29422be0..a034ee46 100644 --- a/syncthingtray/mingw-w64-static/PKGBUILD +++ b/syncthingtray/mingw-w64-static/PKGBUILD @@ -52,10 +52,10 @@ build() { -DSVG_ICON_SUPPORT:BOOL=0N \ ../ - # workaround issue https://github.com/Martchus/PKGBUILDs/issues/86 - find -iname 'linklibs.rsp' -exec sed -i -e 's|-Wl,-Bdynamic||' {} \; + # workaround issue https://gitlab.kitware.com/cmake/cmake/issues/19095 + find -iname 'includes_CXX.rsp' -exec sed -i -e "s|-isystem /usr/$_arch/include ||" {} \; - make + make VERBOSE=1 popd done }