ext/libsvm/extconf.rb in rb-libsvm-1.1.5 vs ext/libsvm/extconf.rb in rb-libsvm-1.2.0
- old
+ new
@@ -1,8 +1,9 @@
require 'mkmf'
$CFLAGS << " -save-temps -ggdb3 " if ENV['DEBUG']
$LDFLAGS << " -lstdc++ "
+$CPPFLAGS << " -DDEBUG " if ENV['DEBUG']
HEADER_DIRS = []
LIB_DIRS = []
dir_config('libsvm', HEADER_DIRS, LIB_DIRS)