Skip to content

Commit b410695

Browse files
authored
Merge pull request #1121 from Incarnation-p-lee/panli/fix-sim-build-for-pk32
Quick fix sim pk build failure for RV32.
2 parents 94537e1 + 2733920 commit b410695

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,8 @@ stamps/build-pk32: $(PK_SRCDIR) stamps/build-gcc-newlib-stage2
833833
cd $(notdir $@) && $</configure \
834834
--prefix=$(INSTALL_DIR) \
835835
--host=$(NEWLIB_TUPLE) \
836-
--with-arch=rv32gc
836+
--with-arch=rv32imafdc \
837+
--with-abi=ilp32f
837838
$(MAKE) -C $(notdir $@)
838839
cp $(notdir $@)/pk $(INSTALL_DIR)/$(NEWLIB_TUPLE)/bin/pk32
839840
mkdir -p $(dir $@)

0 commit comments

Comments
 (0)