summaryrefslogtreecommitdiff
path: root/community/tcc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tcc/PKGBUILD')
-rw-r--r--community/tcc/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/tcc/PKGBUILD b/community/tcc/PKGBUILD
index ebb5f21b3..352c80b5b 100644
--- a/community/tcc/PKGBUILD
+++ b/community/tcc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 86525 2013-03-18 16:24:05Z spupykin $
+# $Id: PKGBUILD 99550 2013-10-29 14:08:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer : Gergely Imreh <imrehgATgmailDOTcom>
# Contributor : dschauer <dschauerATgmailDOTcom>
@@ -7,13 +7,13 @@
pkgname=tcc
pkgver=0.9.26
-pkgrel=1
+pkgrel=2
pkgdesc="Tiny C Compiler"
arch=('i686' 'x86_64')
url="http://bellard.org/tcc/"
license=('LGPL')
makedepends=('gcc')
-options=('docs')
+options=('docs' 'staticlibs')
source=(http://download.savannah.nongnu.org/releases/tinycc/${pkgname}-${pkgver}.tar.bz2)
md5sums=('5fb28e4abc830c46a7f54c1f637fb25d')
@@ -44,7 +44,7 @@ package() {
install
make clean
- make CFLAGS="-fPIC" libtcc.o
- ld -shared -soname libtcc.so -o libtcc.so libtcc.o
+ make CFLAGS="-fPIC"
+ ld -shared -soname libtcc.so -o libtcc.so *.o
install -D -m 755 libtcc.so "${pkgdir}/usr/lib/libtcc.so"
}