From: Martin Mares Date: Mon, 2 Jul 2007 09:19:58 +0000 (+0200) Subject: Enabled -lm in both C and C++. X-Git-Tag: python-dummy-working~319 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=f3b35f3a403c8e62d1785b0d721576be8fba5d3e;p=moe.git Enabled -lm in both C and C++. --- diff --git a/config b/config index 768d52a..f03a7d0 100644 --- a/config +++ b/config @@ -47,8 +47,8 @@ EXTRA_CFLAGS= EXTRA_PFLAGS= # For each source extension, we must give compiler command -COMP_c='/usr/bin/gcc -std=gnu99 -O2 -g -o $EXE $EXTRA_CFLAGS $SRC' -COMP_C='/usr/bin/g++ -O2 -g -o $EXE $EXTRA_CFLAGS $SRC' +COMP_c='/usr/bin/gcc -std=gnu99 -O2 -g -o $EXE $EXTRA_CFLAGS $SRC -lm' +COMP_C='/usr/bin/g++ -O2 -g -o $EXE $EXTRA_CFLAGS $SRC -lm' COMP_cpp="$COMP_C" COMP_cc="$COMP_C" COMP_p='/usr/bin/fpc -Ci -Cr -Ct -g -O2 -Sg -o$EXE $EXTRA_PFLAGS $SRC'