diff --git a/GNUmakefile b/GNUmakefile index 35da1d9..64b433f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -20,9 +20,8 @@ CC=cc CFLAGS=-O3 -Lbuild/lib -idirafter include RUSTC=rustc +nightly -RUSTCFLAGS=-Zlocation-detail=none -Copt-level=z -Ccodegen-units=1 \ - -Cpanic=abort -Clto=y -Cstrip=symbols -Ctarget-cpu=native \ - -Clink-args=-Wl,-n,-N,--no-dynamic-linker,--no-pie,--build-id=none +RUSTCFLAGS=-Zlocation-detail=none -Copt-level=z -Ccodegen-units=1 -Cpanic=abort + -Clto=y -Cstrip=symbols -Ctarget-cpu=native ifeq ($(CC), gcc) CFLAGS=-O3 -s -Wl,-z,noseparate-code,-z,nosectionheader -flto -Lbuild/lib \