Browse files

use -fPIC when compiling

  • Loading branch information...
1 parent 08d36be commit efd37b47b358278f47fe1e550ae31b012fbbff4a @wmorgan committed with William Morgan Jun 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 leveldb/Makefile
View
2 leveldb/Makefile
@@ -9,7 +9,7 @@ CC ?= gcc
# 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 efd37b4

Please sign in to comment.