Skip to content

Commit

Permalink
Add softfloat gcflag
Browse files Browse the repository at this point in the history
  • Loading branch information
ImTei committed Feb 14, 2024
1 parent da5a8a2 commit 3f2d223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/go-tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ bin:
mkdir bin

bin/simple:
cd simple && GOOS=linux GOARCH=riscv64 GOROOT=$(LATEST_GOROOT) go build -o ../bin/simple .
cd simple && GOOS=linux GOARCH=riscv64 GOROOT=$(LATEST_GOROOT) go build -gcflags="all=-d=softfloat" -o ../bin/simple .

bin/simple.dump: bin/simple
riscv64-linux-gnu-objdump -D --disassemble --disassembler-options=no-aliases --wide --source -m riscv:rv64 -EL bin/simple > bin/simple.dump

bin/minimal:
cd minimal && GOOS=linux GOARCH=riscv64 GOROOT=$(LATEST_GOROOT) go build -o ../bin/minimal .
cd minimal && GOOS=linux GOARCH=riscv64 GOROOT=$(LATEST_GOROOT) go build -gcflags="all=-d=softfloat" -o ../bin/minimal .

bin/minimal.dump: bin/minimal
riscv64-linux-gnu-objdump -D --disassemble --disassembler-options=no-aliases --wide --source -m riscv:rv64 -EL bin/minimal > bin/minimal.dump
Expand Down

0 comments on commit 3f2d223

Please sign in to comment.