Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use -fPIC when compiling

  • Loading branch information...
commit d0c00bcd2058bcf8f3fcb982a0d131448ab0d8c3 1 parent 72ea7fa
@wmorgan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  leveldb/Makefile
View
2  leveldb/Makefile
@@ -8,7 +8,7 @@ CC = g++
# Uncomment exactly one of the lines labelled (A), (B), and (C) below
# to switch between compilation modes.
-OPT = -O2 -DNDEBUG # (A) Production use (optimized mode)
+OPT = -O2 -DNDEBUG -fPIC # (A) Production use (optimized mode)
# OPT = -g2 # (B) Debug mode, w/ full line-level debugging symbols
# OPT = -O2 -g2 -DNDEBUG # (C) Profiling mode: opt, but w/debugging symbols
#-----------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.