summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXorg2017-03-27 22:11:19 +0200
committerXorg2017-03-27 22:11:20 +0200
commitec71f60f6a92f5787767e8598d0969db873c380a (patch)
treec2972da6cb53e496dce4992149152d60b564dd31
parent57ed0ae5f510d80c4a9175f4c36c7f711d8e361b (diff)
downloadaur-ec71f60f6a92f5787767e8598d0969db873c380a.tar.gz
Disable user build flags
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD2
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da2d9bc19a4..e0eb8d1bfff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Mar 27 19:25:47 UTC 2017
+# Mon Mar 27 20:11:19 UTC 2017
pkgbase = darling-git
pkgdesc = A Darwin/OS X emulation layer for Linux
pkgver = r1741.a33de880
@@ -33,6 +33,7 @@ pkgbase = darling-git
depends = python
depends = gawk
depends = libunwind
+ options = !buildflags
source = git+https://github.com/darlinghq/darling.git
md5sums = SKIP
depends_x86_64 = lib32-clang
diff --git a/PKGBUILD b/PKGBUILD
index 6b300329a9a..6a956782800 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,6 +16,7 @@ makedepends=('git' 'cmake' 'clang' 'bison' 'flex' 'binutils>=2.28')
makedepends_x86_64=('gcc-multilib')
source=('git+https://github.com/darlinghq/darling.git')
md5sums=('SKIP')
+options=('!buildflags')
pkgver() {
cd "$srcdir/$_gitname"
@@ -39,7 +40,6 @@ prepare() {
build() {
cd "$srcdir/$_gitname/build"
- unset LDFLAGS # It's needed to avoid conflicts with x86_64-apple-darwin11-ld
msg2 "Run 'cmake'..."
cmake ../.. -DCMAKE_TOOLCHAIN_FILE=../Toolchain.cmake -DCMAKE_INSTALL_PREFIX=/usr
msg2 "Run 'make'..."