Permalink
Browse files

Rakefile should honor CFLAGS environment variable in debug mode

  • Loading branch information...
1 parent 73a1709 commit 46e3115a9bec29db2411cfd4174d3bfc287614c6 @matz matz committed Dec 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -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'

0 comments on commit 46e3115

Please sign in to comment.