From e49db66883486f0e4cea8b76e5d2ccf0f8a11eaa Mon Sep 17 00:00:00 2001 From: Raatty Date: Mon, 27 Apr 2020 11:59:17 +1200 Subject: [PATCH] remove optimisations --- Cargo.toml | 2 -- Makefile | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) 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