Skip to content

Commit 797f5d9

Browse files
committed
Do not use workaround on i686
1 parent 7a49f2b commit 797f5d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Makevars.win

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ all: clean rustup
2222
$(SHLIB): $(STATLIB)
2323

2424
$(STATLIB):
25-
mkdir -p myrustlib/target/release/deps; echo '!<arch>' > myrustlib/target/release/deps/libgcc_eh.a #hack for mxe-rtools42
25+
ifeq ($(WIN),64) #hack for mxe-rtools42
26+
mkdir -p myrustlib/target/release/deps; echo '!<arch>' > myrustlib/target/release/deps/libgcc_eh.a
27+
endif
2628
PATH="$(GCCPATH):$(USERPROFILE)\.cargo:$(PATH)" cargo build --target=$(TARGET) --release --manifest-path=myrustlib/Cargo.toml
2729

2830
clean:

0 commit comments

Comments
 (0)