Skip to content
Browse files

use -fPIC when compiling

  • Loading branch information...
1 parent 9c6d6e6 commit f90cc4e1738e8666c0a9de512617aedef9691185 @wmorgan committed Jun 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 leveldb/Makefile
View
2 leveldb/Makefile
@@ -11,7 +11,7 @@ INSTALL_PATH ?= $(CURDIR)
# 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
#-----------------------------------------------

0 comments on commit f90cc4e

Please sign in to comment.
Something went wrong with that request. Please try again.