diff options
author | Michel Zou | 2018-02-07 18:25:37 +0100 |
---|---|---|
committer | Michel Zou | 2018-02-07 18:25:37 +0100 |
commit | 71728e58fe6a2abad5abb988edd96a6d628cffe6 (patch) | |
tree | 9ea56f20eacec77ab1dc9651303091e856fe2715 /PKGBUILD | |
parent | 466cd9c7d6c14c1df20e08bf5331cd0203aaa39f (diff) | |
download | aur-71728e58fe6a2abad5abb988edd96a6d628cffe6.tar.gz |
CMAKE_SYSTEM_PROCESSOR
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ pkgname=mingw-w64-cmake pkgver=1 -pkgrel=18 +pkgrel=19 arch=('any') pkgdesc="CMake wrapper for MinGW (mingw-w64)" depends=('cmake' 'mingw-w64-gcc' 'mingw-w64-pkg-config') @@ -17,6 +17,7 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32" build() { for _arch in ${_architectures}; do sed "s|@TRIPLE@|${_arch}|g" toolchain-mingw.cmake > toolchain-${_arch}.cmake + sed "s|@PROCESSOR@|${_arch::-12}|g" toolchain-mingw.cmake > toolchain-${_arch}.cmake sed "s|@TRIPLE@|${_arch}|g" mingw-cmake.sh > ${_arch}-cmake sed "s|@TRIPLE@|${_arch}|g" mingw-wine.sh > ${_arch}-wine done |