diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/libdrm/PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/libdrm/PKGBUILD b/extra/libdrm/PKGBUILD index e60ba8abf..fb8249bd4 100644 --- a/extra/libdrm/PKGBUILD +++ b/extra/libdrm/PKGBUILD @@ -8,8 +8,8 @@ pkgdesc="Userspace interface to kernel DRM services" arch=(i686 x86_64 'mips64el') license=('custom') depends=('glibc' 'libpciaccess') -makedepends=('cairo' 'clang') -[ "$CARCH" != "mips64el" ] && makedepends+=('valgrind') +makedepends=('cairo') +[ "$CARCH" != "mips64el" ] && makedepends+=('clang' 'valgrind') replaces=('libdrm-new' 'libdrm-nouveau') options=('!libtool') url="http://dri.freedesktop.org/" @@ -28,7 +28,7 @@ build() { # gcc 4.8 introduces graphic corruption and X crashes with nouveau cards (nv44) # http://gcc.gnu.org/ml/gcc-help/2013-07/msg00103.html # we use clang compiler meanwhile - export CC=clang + [ "$CARCH" != "mips64el" ] && export CC=clang ./configure --prefix=/usr --enable-udev make |