[arch-commits] Commit in udpxy/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat May 30 20:45:07 UTC 2020


    Date: Saturday, May 30, 2020 @ 20:45:07
  Author: arojas
Revision: 637527

BUILDINFO rebuild, honor system CFLAGS

Modified:
  udpxy/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-30 20:41:50 UTC (rev 637526)
+++ PKGBUILD	2020-05-30 20:45:07 UTC (rev 637527)
@@ -7,7 +7,7 @@
 pkgver=1.0.23.12
 _pkgver=1.0.23-12
 _commit=612d2271b0d3ccb92f5e1c1c54aa3c0674af75cf
-pkgrel=1
+pkgrel=2
 pkgdesc="small-footprint UNIX/Linux daemon to relay multicast UDP traffic to client's TCP (HTTP) connection."
 arch=(x86_64)
 url="https://github.com/pcherenkov/udpxy"
@@ -18,9 +18,13 @@
 sha256sums=('SKIP'
             '8ea0c97ccd00bff2bc3b1d987d5e55b215bc4cd966623be669160445bdd5a25a')
 
+prepare() {
+  sed -e 's|-Werror||' -i udpxy/chipmunk/Makefile
+}
+
 build() {
   cd "$srcdir"/udpxy/chipmunk
-  make PREFIX=/usr CC="gcc -O2"
+  make PREFIX=/usr CC="gcc ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
 }
 
 package() {



More information about the arch-commits mailing list