Permalink
Browse files

Merge branch 'patch-1' of git://github.com/ged/amalgalite into ged-pa…

…tch-1
  • Loading branch information...
2 parents 84731eb + 8bd85c7 commit c8170a3ad3ec67e4761ec7a578d6005789f3aac8 @copiousfreetime committed Oct 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/amalgalite/extconf.rb
View
2 ext/amalgalite/extconf.rb
@@ -20,7 +20,7 @@
end
# remove the -g flags if it exists
-%w[ -ggdb -g ].each do |debug|
+%w[ -ggdb\\d* -g\\d* ].each do |debug|
$CFLAGS = $CFLAGS.gsub(/#{debug}/,'')
RbConfig::MAKEFILE_CONFIG['debugflags'] = Config::MAKEFILE_CONFIG['debugflags'].gsub(/#{debug}/,'') if Config::MAKEFILE_CONFIG['debugflags']
end

0 comments on commit c8170a3

Please sign in to comment.