summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2012-12-18 01:27:07 +0900
committerYukihiro Matz Matsumoto <[email protected]>2012-12-18 01:27:07 +0900
commit46e3115a9bec29db2411cfd4174d3bfc287614c6 (patch)
tree04ba522539b555837cb720493e589b0a8556bf2d /Rakefile
parent73a1709718601f31ebab8abe6b56d062e7f7f3a1 (diff)
downloadmruby-46e3115a9bec29db2411cfd4174d3bfc287614c6.tar.gz
mruby-46e3115a9bec29db2411cfd4174d3bfc287614c6.zip
Rakefile should honor CFLAGS environment variable in debug mode
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 14ff8077a..0418be72f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -26,7 +26,7 @@ COMPILE_MODE = :debug
case COMPILE_MODE.to_s
when 'debug'
- CFLAGS = ['-g', '-O3']
+ CFLAGS = ['-g', '-O3', ENV['CFLAGS']]
when 'release'
CFLAGS = ['-O3']
when 'small'