Makefile: RUSTFLAGS not RUSTCFLAGS

This commit is contained in:
Emma Tebibyte 2024-02-18 20:03:04 -07:00
parent 1c2e7ea14b
commit 90de1bf9a4
Signed by: emma
GPG Key ID: 06FA419A1698C270

View File

@ -54,7 +54,7 @@ build/o/libsysexits.rlib: build
| $(RUSTC) $(RUSTFLAGS) --crate-type lib -o build/o/libsysexits.rlib -
build/o/libgetopt.rlib: src/getopt-rs/lib.rs
$(RUSTC) $(RUSTCFLAGS) --crate-type=lib --crate-name=getopt \
$(RUSTC) $(RUSTFLAGS) --crate-type=lib --crate-name=getopt \
-o build/o/libgetopt.rlib src/getopt-rs/lib.rs
.PHONY: dj