ext/libsvm/extconf.rb in rb-libsvm-1.1.1 vs ext/libsvm/extconf.rb in rb-libsvm-1.1.2
- old
+ new
@@ -1,7 +1,7 @@
require 'mkmf'
-# $CFLAGS << " -save-temps -ggdb3 "
+$CFLAGS << " -save-temps -ggdb3 " if ENV['DEBUG']
$LDFLAGS << " -lstdc++ "
HEADER_DIRS = []
LIB_DIRS = []