Commit 732eed7dab5d3d6467bc473c1d32ba54bd480e80

Authored by Silvan Calarco
1 parent 2af3d8c5c4
Exists in master

backlight: don't build static; applesmc: don't install with suid

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -14,7 +14,7 @@
14 14 applesmc: applesmc.c Makefile
15 15 gcc -DVERSION=\"$(VERSION)\" -Wall applesmc.c -o applesmc
16 16 backlight: backlight.c Makefile
17   - gcc -DVERSION=\"$(VERSION)\" -Wall backlight.c -o backlight -lpci -static
  17 + gcc -DVERSION=\"$(VERSION)\" -Wall backlight.c -o backlight -lpci
18 18  
19 19 install: backlight applesmc
20 20 install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(INITDIR)
... ... @@ -22,7 +22,7 @@
22 22 install -d $(DESTDIR)$(SBIN) $(DESTDIR)$(SBINDIR)
23 23 install -d $(DESTDIR)$(SYSCONFDIR)/sysconfig
24 24 install -d $(DESTDIR)/lib/systemd/system
25   - install -s -m 4755 applesmc $(DESTDIR)$(BINDIR)
  25 + install -s -m 0755 applesmc $(DESTDIR)$(BINDIR)
26 26 install -s -m 4755 backlight $(DESTDIR)$(BINDIR)
27 27 install -m 0755 macbook-set-input $(DESTDIR)$(BINDIR)/
28 28 install -m 0644 applesmcd.service $(DESTDIR)/lib/systemd/system/applesmcd.service