1
0
Fork 0

remove optimisations

This commit is contained in:
Raatty 2020-04-27 11:59:17 +12:00
parent 2999921e29
commit e49db66883
2 changed files with 2 additions and 4 deletions

View File

@ -12,6 +12,4 @@ gtk = "0.8.1"
lightdm = { git = "https://raatty.club:3000/raatty/lightdm-rs.git"}
[profile.release]
codegen-units = 1
panic = "abort"
opt-level = "z"

View File

@ -4,6 +4,6 @@ DATADIR ?= $(PREFIX)/share
CONFDIR = /etc
install:
RUSTFLAGS="-C link-arg=-s" cargo build --release
cargo build --release
install -Dm755 target/release/lightdm-mobile-greeter -t $(DESTDIR)$(BINDIR)
install -Dm644 lightdm-mobile-greeter.desktop -t $(DESTDIR)$(DATADIR)/xgreeters
install -Dm644 lightdm-mobile-greeter.desktop -t $(DESTDIR)$(DATADIR)/xgreeters