fossil: Explicitly link with libm
authorFlorian Fainelli <redacted>
Mon, 5 Jun 2017 02:31:56 +0000 (19:31 -0700)
committerFlorian Fainelli <redacted>
Mon, 5 Jun 2017 02:48:46 +0000 (19:48 -0700)
commit4eec08f225ac662e7c72da6635521769fe3b2abc
treebe0d81e9fea0d0a211fc12ae2e9777c6edc39196
parent657be0880b95b42214ec9f7ea477c6ecc14fb1fa
fossil: Explicitly link with libm

Fixes the following build error with an external toolchain:

./bld/sqlite3.o: In function `fts5Bm25Function':
sqlite3.c:(.text+0x27234): undefined reference to `log'
./bld/piechart.o: In function `piechart_render':
piechart_.c:(.text+0x430): undefined reference to `sincos'
piechart_.c:(.text+0x47c): undefined reference to `sincos'
piechart_.c:(.text+0x548): undefined reference to `sincos'
collect2: error: ld returned 1 exit status
src/main.mk:526: recipe for target 'fossil' failed
make[3]: *** [fossil] Error 1

Signed-off-by: Florian Fainelli <redacted>
net/fossil/Makefile
git clone https://git.99rst.org/PROJECT