Ver código fonte

Using system wide CFLAGS (thanks to Frank)

Simon Tunnat 10 anos atrás
pai
commit
988f2e0b64
2 arquivos alterados com 3 adições e 3 exclusões
  1. 1 1
      .SRCINFO
  2. 2 2
      PKGBUILD

+ 1 - 1
.SRCINFO

@@ -1,7 +1,7 @@
 pkgbase = ccnet
 	pkgdesc = A framework for writing networked applications in C.
 	pkgver = 1.4.2
-	pkgrel = 15
+	pkgrel = 16
 	url = https://github.com/haiwen/ccnet/
 	arch = i686
 	arch = x86_64

+ 2 - 2
PKGBUILD

@@ -9,7 +9,7 @@ pkgver=1.4.2
 _seafilever=4.3.4
 
 #The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase
-pkgrel=15
+pkgrel=16
 
 # The description of the package, should be about 80 characters long (one line)
 pkgdesc="A framework for writing networked applications in C."
@@ -45,7 +45,7 @@ source=("https://github.com/haiwen/ccnet/archive/v${_seafilever}.tar.gz"
 
 configure_ccnet() {
 	./autogen.sh
-	CFLAGS="-lpthread" ./configure --enable-server --enable-ldap --prefix=/usr PYTHON=/usr/bin/python2
+	CFLAGS="$CFLAGS -lpthread" ./configure --enable-server --enable-ldap --prefix=/usr PYTHON=/usr/bin/python2
 }
 
 pkgver() {