changeset 56:2cccd38e5e4d

- added -lm in GNU/kFreeBSD config, to build all tests out of the box - cosmetics
author cslag
date Fri, 25 Dec 2015 21:16:04 +0100
parents 8d938410d1eb
children 4eef76c8d22f
files configure test/suite_floats/main.cc
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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];