aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-evdev/cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-evdev/cflags.patch')
-rw-r--r--main/lua-evdev/cflags.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/lua-evdev/cflags.patch b/main/lua-evdev/cflags.patch
new file mode 100644
index 0000000000..52d3647de7
--- /dev/null
+++ b/main/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)
+