summaryrefslogtreecommitdiff
path: root/community/tcc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-30 01:04:25 -0700
committerroot <root@rshg054.dnsready.net>2013-10-30 01:04:25 -0700
commit7c151ac5589d3dbef5972f69a62b847ecf565bfa (patch)
tree9450bd13169930e602731e9c431b79fdaaad2c02 /community/tcc
parent38b1ce25596ae456fefb3214a73c3d1005da568f (diff)
Wed Oct 30 01:01:59 PDT 2013
Diffstat (limited to 'community/tcc')
-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"
}