1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/keyd/fix-makefile.patch
2022-10-29 05:17:45 +02:00

27 lines
732 B
Diff

diff --git a/Makefile b/Makefile
index c291392..cb7aca8 100644
--- a/Makefile
+++ b/Makefile
@@ -3,12 +3,9 @@ DESTDIR=
PREFIX=/usr
VERSION=2.4.2
-COMMIT=$(shell git describe --no-match --always --abbrev=7 --dirty)
VKBD=uinput
-CFLAGS:=-DVERSION=\"v$(VERSION)\ \($(COMMIT)\)\" \
- -I/usr/local/include \
- -L/usr/local/lib \
+CFLAGS:=-DVERSION=\"v$(VERSION)\" \
-Wall \
-Wextra \
-Wno-unused \
@@ -28,7 +25,7 @@ endif
all:
-mkdir bin
cp scripts/keyd-application-mapper bin/
- $(CC) $(CFLAGS) -O3 $(COMPAT_FILES) src/*.c src/vkbd/$(VKBD).c -o bin/keyd -lpthread $(LDFLAGS)
+ $(CC) $(CFLAGS) $(COMPAT_FILES) src/*.c src/vkbd/$(VKBD).c -o bin/keyd -lpthread $(LDFLAGS)
debug:
CFLAGS="-g -Wunused" $(MAKE)
compose: