sim compiler: add -lm flag.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/03fa8659 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/03fa8659 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/03fa8659 Branch: refs/heads/nrf_cputime Commit: 03fa86591eac0c82a8e8489b79d301fb2383efee Parents: 03650bc Author: Christopher Collins <[email protected]> Authored: Wed Mar 8 19:37:54 2017 -0800 Committer: Christopher Collins <[email protected]> Committed: Tue Mar 28 16:58:41 2017 -0700 ---------------------------------------------------------------------- compiler/sim/compiler.yml | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/03fa8659/compiler/sim/compiler.yml ---------------------------------------------------------------------- diff --git a/compiler/sim/compiler.yml b/compiler/sim/compiler.yml index 5e5e7e5..a2e619f 100644 --- a/compiler/sim/compiler.yml +++ b/compiler/sim/compiler.yml @@ -34,6 +34,7 @@ compiler.flags.debug: [compiler.flags.base, -O0] compiler.as.flags: [-x, assembler-with-cpp] compiler.ld.mapfile: false compiler.ld.binfile: false +compiler.ld.flags: -lm # Linux. compiler.flags.base.LINUX: >
