main/libdrm: fixup wrong added args

This commit is contained in:
psykose 2023-05-09 03:28:40 +00:00
parent a88c397784
commit c8ebf48195

View File

@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libdrm pkgname=libdrm
pkgver=2.4.115 pkgver=2.4.115
pkgrel=2 pkgrel=3
pkgdesc="Userspace interface to kernel DRM services" pkgdesc="Userspace interface to kernel DRM services"
url="https://dri.freedesktop.org/" url="https://dri.freedesktop.org/"
arch="all" arch="all"
@ -17,9 +17,9 @@ source="https://gitlab.freedesktop.org/mesa/drm/-/archive/libdrm-$pkgver/drm-lib
builddir="$srcdir/drm-libdrm-$pkgver" builddir="$srcdir/drm-libdrm-$pkgver"
build() { build() {
CFLAGS="$CFLAGS -flto=auto" \ CFLAGS="$CFLAGS -O2" \
CPPFLAGS="$CPPFLAGS -flto=auto" \ CPPFLAGS="$CPPFLAGS -O2" \
CXXFLAGS="$CXXFLAGS -flto=auto" \ CXXFLAGS="$CXXFLAGS -O2" \
abuild-meson \ abuild-meson \
-Db_lto=true \ -Db_lto=true \
-Dfreedreno=enabled \ -Dfreedreno=enabled \