diff --git a/src/Makefile b/src/Makefile index 24a0b66..ffbdcc9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -37,16 +37,13 @@ RSCFLAGS = --emit obj --crate-type staticlib --verbose \ ifeq (${ARCH},x86_64) RSCFLAGS := ${RSCFLAGS} --target x86_64-unknown-none + RSCFLAGS := ${RSCFLAGS} -C target-feature=-sse endif ifdef release RSCFLAGS := ${RSCFLAGS} -O endif -ifeq (${ARCH},x86_64) - RSCFLAGS := ${RSCFLAGS} -C target-feature=-sse -endif - RUSTLIB_PATH = ../rustlib/${ARCH} RUST_LIBS = "${RUSTLIB_PATH}/liballoc.rlib" "${RUSTLIB_PATH}/libcompiler_builtins.rlib" \ "${RUSTLIB_PATH}/libcore.rlib" "${RUSTLIB_PATH}/librustc_std_workspace_core.rlib"