diff options
author | Reza Jahanbakhshi | 2021-11-30 17:13:57 +0100 |
---|---|---|
committer | Reza Jahanbakhshi | 2021-11-30 17:13:57 +0100 |
commit | e751e5b1cf6932cfc150a3a55d23a43dae2b5f58 (patch) | |
tree | db6af9cf30dde47a5d7dc23933b0789328af5774 | |
parent | 7438928f029eb828c1fc093e56428106b18d06dd (diff) | |
download | aur-e751e5b1cf6932cfc150a3a55d23a43dae2b5f58.tar.gz |
Updated PKGBUILD to honor the user set compiler using CC and CXX environment variables.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 7 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = lib32-mesa-git pkgdesc = an open-source implementation of the OpenGL specification, git version - pkgver = 22.0.0_devel.146998.e6147895885 + pkgver = 22.0.0_devel.147532.34a75ce15ce pkgrel = 1 url = https://www.mesa3d.org arch = x86_64 @@ -12,7 +12,7 @@ pkgname=lib32-mesa-git pkgdesc="an open-source implementation of the OpenGL specification, git version" -pkgver=22.0.0_devel.147096.d80c7f3406b +pkgver=22.0.0_devel.147532.34a75ce15ce pkgrel=1 arch=('x86_64') makedepends=('python-mako' 'lib32-libxml2' 'lib32-libx11' 'xorgproto' @@ -96,8 +96,11 @@ prepare() { } build () { - export CC="gcc -m32" - export CXX="g++ -m32" + export CC="${CC:-gcc}" + export CXX="${CXX:-g++}" + CC="$CC -m32" + CXX="$CXX -m32" + export PKG_CONFIG=/usr/bin/i686-pc-linux-gnu-pkg-config meson setup mesa _build \ |