From 732eed7dab5d3d6467bc473c1d32ba54bd480e80 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 24 Mar 2015 23:15:41 +0100 Subject: [PATCH] backlight: don't build static; applesmc: don't install with suid --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8b3039a..920dd56 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ all: applesmc backlight applesmc: applesmc.c Makefile gcc -DVERSION=\"$(VERSION)\" -Wall applesmc.c -o applesmc backlight: backlight.c Makefile - gcc -DVERSION=\"$(VERSION)\" -Wall backlight.c -o backlight -lpci -static + gcc -DVERSION=\"$(VERSION)\" -Wall backlight.c -o backlight -lpci install: backlight applesmc install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(INITDIR) @@ -22,7 +22,7 @@ install: backlight applesmc install -d $(DESTDIR)$(SBIN) $(DESTDIR)$(SBINDIR) install -d $(DESTDIR)$(SYSCONFDIR)/sysconfig install -d $(DESTDIR)/lib/systemd/system - install -s -m 4755 applesmc $(DESTDIR)$(BINDIR) + install -s -m 0755 applesmc $(DESTDIR)$(BINDIR) install -s -m 4755 backlight $(DESTDIR)$(BINDIR) install -m 0755 macbook-set-input $(DESTDIR)$(BINDIR)/ install -m 0644 applesmcd.service $(DESTDIR)/lib/systemd/system/applesmcd.service