diff options
author | Jens Staal | 2017-08-06 18:36:47 +0200 |
---|---|---|
committer | Jens Staal | 2017-08-06 18:36:47 +0200 |
commit | e92cd47464d2066e51566b4b528c85ce76f208d0 (patch) | |
tree | fa4fd3201662d776903e0cb3460f2035f11cefda | |
parent | 88eb350dcd3d7f2c58f4914d01939f13993c5b74 (diff) | |
download | aur-e92cd47464d2066e51566b4b528c85ce76f208d0.tar.gz |
changed to hack by adding -static to CC variable
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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() { |