Genode fixes (#10491)

Readline pasthru, add linker to config, do not pass -lm to linker.
This commit is contained in:
Emery Hemingway 2019-01-29 15:08:43 +01:00 • committed by Andreas Rumpf
commit 15422a3e5a
4 changed files with 15 additions and 3 deletions

View file

@ -95,7 +95,7 @@ proc fac*(n: int): int =
{.push checks:off, line_dir:off, stack_trace:off.}
when defined(Posix):
when defined(Posix) and not defined(genode):
{.passl: "-lm".}
const