summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorReza Jahanbakhshi2021-11-30 17:13:57 +0100
committerReza Jahanbakhshi2021-11-30 17:13:57 +0100
commite751e5b1cf6932cfc150a3a55d23a43dae2b5f58 (patch)
treedb6af9cf30dde47a5d7dc23933b0789328af5774
parent7438928f029eb828c1fc093e56428106b18d06dd (diff)
downloadaur-lib32-mesa-git.tar.gz
Updated PKGBUILD to honor the user set compiler using CC and CXX environment variables.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e13b9db8d21..dd165822b29 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 5b42f25c281..fc5b339f18b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 \