Skip to content

Commit

Permalink
Merge pull request #61 from zerosign/master
Browse files Browse the repository at this point in the history
Forget to add the flag in ext/scrypt/Rakefile
  • Loading branch information
stakach authored Aug 13, 2016
2 parents 70d5696 + 4d9e9ca commit 4bbde47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/scrypt/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FFI::Compiler::CompileTask.new('scrypt_ext') do |t|
t.cflags << "-Wall -std=c99"
t.cflags << "-msse -msse2" if t.platform.arch.include? "86"
t.cflags << "-D_GNU_SOURCE=1" if RbConfig::CONFIG["host_os"].downcase =~ /mingw/
t.cflags << "-D__need_timespec" if RbConfig::CONFIG['host_os'].downcase =~ /linux/
t.cflags << "-arch x86_64 -arch i386" if t.platform.mac?
t.ldflags << "-arch x86_64 -arch i386" if t.platform.mac?
t.export '../../lib/scrypt/scrypt_ext.rb'
Expand Down

0 comments on commit 4bbde47

Please sign in to comment.