Skip to content

Commit

Permalink
use -fPIC when compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
wmorgan authored and William Morgan committed Mar 8, 2012
1 parent 08d36be commit efd37b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leveldb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
#-----------------------------------------------
Expand Down

0 comments on commit efd37b4

Please sign in to comment.