mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Rakefile: LIBS default to -lm
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user