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

Sergej Pupykin spupykin at archlinux.org
Mon Feb 25 08:33:40 UTC 2019


    Date: Monday, February 25, 2019 @ 08:33:39
  Author: spupykin
Revision: 435659

fix luasocket-debug

Modified:
  luasocket/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-25 08:24:33 UTC (rev 435658)
+++ PKGBUILD	2019-02-25 08:33:39 UTC (rev 435659)
@@ -10,6 +10,7 @@
 arch=('x86_64')
 url='https://github.com/diegonehab/luasocket'
 license=('MIT')
+#options=('debug')
 makedepends=('lua' 'lua51' 'lua52' 'git')
 source=("git+https://github.com/diegonehab/luasocket.git#commit=${_commit}")
 md5sums=('SKIP')
@@ -20,7 +21,7 @@
 
   msg2 'Building with lua 5.3'
   cd "$srcdir"/luasocket
-  make LUAV=5.3 linux
+  MYCFLAGS=$CFLAGS MYLDFLAGS=$LDFLAGS make LUAV=5.3 linux
 
   msg2 'Building with lua 5.1'
   cd "$srcdir"/luasocket-51
@@ -31,7 +32,7 @@
     -e 's|include "lauxlib.h|include "lua5.1/lauxlib.h|g' \
     {} \;
   sed -i 's|usocket.$(O)|usocket.$(O) compat.$(O)|' makefile
-  make LUAV=5.1 linux
+  MYCFLAGS=$CFLAGS MYLDFLAGS=$LDFLAGS make LUAV=5.1 linux
 
   msg2 'Building with lua 5.2'
   cd "$srcdir"/luasocket-52
@@ -41,7 +42,7 @@
     -e 's|include "luaconf.h|include "lua5.2/luaconf.h|g' \
     -e 's|include "lauxlib.h|include "lua5.2/lauxlib.h|g' \
     {} \;
-  make LUAV=5.2 linux
+  MYCFLAGS=$CFLAGS MYLDFLAGS=$LDFLAGS make LUAV=5.2 linux
 }
 
 package_lua-socket() {



More information about the arch-commits mailing list