Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use OPT environment variable to specify -fPIC

Thanks to schmurfy for pointing this out.
  • Loading branch information...
commit 34c147dfc5681d1c449cb7f313c680f232a0238b 1 parent 017933f
@wmorgan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/leveldb/extconf.rb
View
2  ext/leveldb/extconf.rb
@@ -3,7 +3,7 @@
require "./platform.rb"
Dir.chdir "../../leveldb"
-system "make libleveldb.a" or abort
+system "OPT=\"-O2 -DNDEBUG -fPIC\" make libleveldb.a" or abort
Dir.chdir "../ext/leveldb"
set_platform_specific_variables!
Please sign in to comment.
Something went wrong with that request. Please try again.