Don't add -lm on haiku.

* configure.ac: Define BUILD_LIBM to -lm on most platforms
	and empty on haiku.
	* grub-core/Makefile.am (gentrigtables): Use $(BUILD_LIBM) rather than
	-lm.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-19 02:20:21 +02:00
parent e8559d2434
commit 29013cba15
3 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,12 @@
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
Don't add -lm on haiku.
* configure.ac: Define BUILD_LIBM to -lm on most platforms
and empty on haiku.
* grub-core/Makefile.am (gentrigtables): Use $(BUILD_LIBM) rather than
-lm.
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Use -melf_*_haiku as target on haiku.