summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Staal2017-08-06 18:36:47 +0200
committerJens Staal2017-08-06 18:36:47 +0200
commite92cd47464d2066e51566b4b528c85ce76f208d0 (patch)
treefa4fd3201662d776903e0cb3460f2035f11cefda
parent88eb350dcd3d7f2c58f4914d01939f13993c5b74 (diff)
downloadaur-e92cd47464d2066e51566b4b528c85ce76f208d0.tar.gz
changed to hack by adding -static to CC variable
-rw-r--r--PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a452e6b5bea..9073174e321 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,16 +19,15 @@ sha1sums=('7b9cb47fc2a007c26fedc99d22a7fc1dc2f5f914')
build() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
- export CC=musl-gcc
+ export CC="musl-gcc -static"
export CFLAGS='-Os -static'
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--mandir=/usr/share/man \
- --exec-prefix="" \
- --with-libedit
-
- make CC=$CC CFLAGS=$CFLAGS
+ --exec-prefix=""
+
+ make
}
package() {