]> mj.ucw.cz Git - moe.git/blobdiff - config
Enabled -lm in both C and C++.
[moe.git] / config
diff --git a/config b/config
index 768d52a526d8104266b0baa6341ebecf4816b410..f03a7d0d28b97211c016db554ad51f4eae3ea9ff 100644 (file)
--- 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'