aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2022-12-16 15:34:33 +0800
committerGitHub <noreply@github.com>2022-12-16 15:34:33 +0800
commitb410695bc3a4b170dd1ed95fa5519003e28b6b07 (patch)
treeb8f7a5a6b7fdfb887270a880fdef3b3c78eafeaf /Makefile.in
parent94537e1c482b53fe95dc595388b068fcb14fee67 (diff)
parent2733920036c4ed52fb6ef119da6bb7093dbf79d6 (diff)
downloadriscv-gnu-toolchain-b410695bc3a4b170dd1ed95fa5519003e28b6b07.zip
riscv-gnu-toolchain-b410695bc3a4b170dd1ed95fa5519003e28b6b07.tar.gz
riscv-gnu-toolchain-b410695bc3a4b170dd1ed95fa5519003e28b6b07.tar.bz2
Merge pull request #1121 from Incarnation-p-lee/panli/fix-sim-build-for-pk32
Quick fix sim pk build failure for RV32.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 09c5772..71369ab 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -833,7 +833,8 @@ stamps/build-pk32: $(PK_SRCDIR) stamps/build-gcc-newlib-stage2
cd $(notdir $@) && $</configure \
--prefix=$(INSTALL_DIR) \
--host=$(NEWLIB_TUPLE) \
- --with-arch=rv32gc
+ --with-arch=rv32imafdc \
+ --with-abi=ilp32f
$(MAKE) -C $(notdir $@)
cp $(notdir $@)/pk $(INSTALL_DIR)/$(NEWLIB_TUPLE)/bin/pk32
mkdir -p $(dir $@)