diff --git a/Rakefile b/Rakefile index 9af26a4..cf3e13d 100644 --- a/Rakefile +++ b/Rakefile @@ -24,7 +24,7 @@ end desc "FFI compiler" namespace "ffi-compiler" do FFI::Compiler::CompileTask.new('ext/scrypt/scrypt_ext') do |t| - t.cflags << "-Wall" + t.cflags << "-Wall -rec" t.cflags << "-D_GNU_SOURCE=1" if RbConfig::CONFIG["host_os"].downcase =~ /mingw/ t.cflags << "-arch x86_64 -arch i386" if t.platform.mac? t.ldflags << "-arch x86_64 -arch i386" if t.platform.mac?