diff --git a/Cargo.toml b/Cargo.toml index dbadbfd..bafc4ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" \ No newline at end of file diff --git a/Makefile b/Makefile index e394497..bb2cf85 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file + install -Dm644 lightdm-mobile-greeter.desktop -t $(DESTDIR)$(DATADIR)/xgreeters