summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta2019-04-08 16:28:02 +0200
committerJan Cholasta2019-04-08 16:28:30 +0200
commit0f889ccdc40613601360b892df389734df0822b6 (patch)
tree4008ab60a874cd112e35fdfa2abbc1f61db06247
parentcc27e6e52d1ca17c356c54e12c3e4398c167960e (diff)
downloadaur-0f889ccdc40613601360b892df389734df0822b6.tar.gz
gzdoom-git-g4.1pre+7+g3c07485d1-1
* fix "Package contains reference to $srcdir"
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1f797c132fa..aa56bab8efb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -64,7 +64,8 @@ prepare() {
build() {
cd $_name
- local _cflags="-DSHARE_DIR=\\\"/usr/share/$_name\\\" \
+ local _cflags="-ffile-prefix-map=\"$PWD\"=. \
+ -DSHARE_DIR=\\\"/usr/share/$_name\\\" \
-DFLUIDSYNTHLIB2=\\\"libfluidsynth.so.2\\\""
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS="${CFLAGS} ${_cflags}" \