Skip to content

Commit

Permalink
use -fPIC when compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
wmorgan committed Apr 22, 2012
1 parent 9c6d6e6 commit f90cc4e
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 @@ -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
#-----------------------------------------------
Expand Down

0 comments on commit f90cc4e

Please sign in to comment.