aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-evdev/cflags.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-12 08:44:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-12 08:44:04 +0000
commit5da044646d4e5f189ebb85f851314e2f3415a104 (patch)
tree912ed9026e9aee478d8fee92ed929a972ace4607 /testing/lua-evdev/cflags.patch
parentbc3ca2e4b4dc1d501d1acdb01e29ac063584ade0 (diff)
downloadaports-5da044646d4e5f189ebb85f851314e2f3415a104.tar.bz2
aports-5da044646d4e5f189ebb85f851314e2f3415a104.tar.xz
testing/lua-evdev: new aport
Lua module for reading input events https://github.com/Tangent128/lua-evdev
Diffstat (limited to 'testing/lua-evdev/cflags.patch')
-rw-r--r--testing/lua-evdev/cflags.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/lua-evdev/cflags.patch b/testing/lua-evdev/cflags.patch
new file mode 100644
index 0000000000..52d3647de7
--- /dev/null
+++ b/testing/lua-evdev/cflags.patch
@@ -0,0 +1,8 @@
+--- ./Makefile.orig
++++ ./Makefile
+@@ -1,4 +1,4 @@
+
+ evdev/core.so: evdev/core.c
+- gcc -shared -o evdev/core.so -fPIC -Wall -Wextra -pedantic -std=c99 evdev/core.c
++ gcc $(CFLAGS) -shared -o evdev/core.so -fPIC -Wall -Wextra -pedantic -std=c99 evdev/core.c $(LDFLAGS)
+