Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #326 from sifive/link-libm
Browse files Browse the repository at this point in the history
Add libm to LDLIBS
  • Loading branch information
nategraff-sifive authored Aug 6, 2019
2 parents 34dfbf1 + 4c9c6f3 commit 63adb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/standalone.mk
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ RISCV_LDFLAGS += -nostartfiles -nostdlib
RISCV_LDFLAGS += -L$(sort $(dir $(abspath $(filter %.a,$^)))) -T$(abspath $(filter %.lds,$^))

# Link to the relevant libraries
RISCV_LDLIBS += -Wl,--start-group -lc -lgcc -lmetal -lmetal-gloss -Wl,--end-group
RISCV_LDLIBS += -Wl,--start-group -lc -lgcc -lm -lmetal -lmetal-gloss -Wl,--end-group

# Load the configuration Makefile
CONFIGURATION_FILE = $(wildcard $(CONFIGURATION).mk)
Expand Down

0 comments on commit 63adb2d

Please sign in to comment.