summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPellegrino Prevete2020-01-30 00:39:25 +0100
committerPellegrino Prevete2020-01-30 00:39:25 +0100
commitb71f5af1153a5f3f0a09955bd33ecb014d1f60a4 (patch)
tree86bcfc1d3037f47594e743dafa90fc2f0a8a1e76
parentbffb11512a4486d377fabcf3d74ef65fc4d9396e (diff)
downloadaur-b71f5af1153a5f3f0a09955bd33ecb014d1f60a4.tar.gz
included cflags to fix https://aur.archlinux.org/packages/pcsxr-git/\#comment-726368
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1975a7dae3b1..b8d408b41162 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer : Özgür Sarıer <echo b3pndXJzYXJpZXIxMDExNjAxMTE1QGdtYWlsLmNvbQo= | base64 -d>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Infy <eugene.yudin@gmail.com>
+# Contributor: Pellegrino Prevete <cGVsbGVncmlub3ByZXZldGVAZ21haWwuY29tCg== | base -d>
pkgname=pcsxr-git
pkgver=1.9.94.r1697.6484236c
@@ -47,7 +48,10 @@ build() {
-DSND_BACKEND='pulse' \
-DENABLE_CCDDA='ON' \
-DUSE_LIBARCHIVE='ON' \
- -DUSE_LIBCDIO='ON'
+ -DUSE_LIBCDIO='ON' \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="-O2 -DNDEBUG -mtune=native -pipe -I/usr/include/harfbuzz/ -lGLU -lGL " \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -DNDEBUG -mtune=native -pipe -I/usr/include/harfbuzz/ -lGLU -lGL " \
+ -DOpenGL_GL_PREFERENCE:STRING="GLVND"
make
}