summaryrefslogtreecommitdiff
path: root/user/physlock/makefile.patch
blob: 9cae82168f8ed3e2adf49038f831c02be7730c54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- physlock-13/Makefile	2019-01-28 18:46:20.000000000 +0000
+++ physlock-13/Makefile	2019-04-18 07:17:28.779909174 +0000
@@ -7,9 +7,9 @@
 MANPREFIX = $(PREFIX)/share/man
 
 # enable user detection using libsystemd
-HAVE_SYSTEMD = 1
+HAVE_SYSTEMD = 0
 
-cflags = -Wall -pedantic $(CFLAGS)
+cflags = -D_GNU_SOURCE -Wall -pedantic $(CFLAGS)
 cppflags = -I. $(CPPFLAGS) -D_XOPEN_SOURCE=500
 
 lib_systemd_0 =