summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2012-12-18 22:29:24 +0900
committerYukihiro Matz Matsumoto <[email protected]>2012-12-18 22:29:24 +0900
commit83c4ea8366c0fa01d947dc73eba95e3b4f5a17ac (patch)
treeba0ff082c7b70d8b4d556b9665e95474d8e2c5be
parente7112424ec2e109c61c0d98d8f9d686e46eda451 (diff)
downloadmruby-83c4ea8366c0fa01d947dc73eba95e3b4f5a17ac.tar.gz
mruby-83c4ea8366c0fa01d947dc73eba95e3b4f5a17ac.zip
Rakefile: LIBS default to -lm
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index fe966879d..2cd11a239 100644
--- a/Rakefile
+++ b/Rakefile
@@ -34,7 +34,7 @@ else # including 'debug'
CFLAGS = if e then [e] else ['-g', '-O3'] end
end
LDFLAGS = [ENV['LDFLAGS']]
-LIBS = [ENV['LIBS']]
+LIBS = [ENV['LIBS'] || '-lm']
CFLAGS << "-Wall" << "-Werror-implicit-function-declaration" << "-I#{MRUBY_ROOT}/include"
if ENV['OS'] == 'Windows_NT'