# HG changeset patch # User cslag # Date 1451074564 -3600 # Node ID 2cccd38e5e4de8848e3098d9ca5d84b731f5491d # Parent 8d938410d1eb3b50bf90552ccd251234fa49d643 - added -lm in GNU/kFreeBSD config, to build all tests out of the box - cosmetics diff -r 8d938410d1eb -r 2cccd38e5e4d configure --- a/configure Wed Dec 23 22:20:18 2015 +0100 +++ b/configure Fri Dec 25 21:16:04 2015 +0100 @@ -85,6 +85,9 @@ printf "LDLIBS=-lm\n" >>$C printf "RM=rm -f\n" >>$C ;; + GNU/kFreeBSD) + printf "LDLIBS=-lm\n" >>$C + ;; MacOSX|Darwin) # if Apple's libtool (not to be confused with GNU's) is available, which is according to libtool(1) "with -static [...] intended # to replace ar(5) and ranlib", use it - if it is shadowed by some install of GNU's libtool assume that a foreign environment is diff -r 8d938410d1eb -r 2cccd38e5e4d test/suite_floats/main.cc --- a/test/suite_floats/main.cc Wed Dec 23 22:20:18 2015 +0100 +++ b/test/suite_floats/main.cc Fri Dec 25 21:16:04 2015 +0100 @@ -34,9 +34,9 @@ #include "../common/platformInit.c" /* Impl. for functions only used in this translation unit */ -int getId(); +int getId(); DCpointer getFunc(int x); -DCValue* getArg(int pos); +DCValue* getArg(int pos); DCdouble valueDouble [NARGS]; DCfloat valueFloat [NARGS];