Skip to content

Commit

Permalink
make: -fPIC for dynamic linking
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Jan 24, 2012
1 parent 52afb6f commit 1998a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -4,7 +4,7 @@
# SNAPPY = 0 | 1 (default: 1)
#
CSTDFLAG = --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter
CPPFLAGS += -Iinclude -Ideps/snappy
CPPFLAGS += -fPIC -Iinclude -Ideps/snappy
CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

ifeq ($(ARCH),i386)
Expand Down

0 comments on commit 1998a95

Please sign in to comment.