summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-06-27 09:30:31 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-06-27 09:30:31 (GMT)
commitc04df7e1b5fb1e4ffa796d2b3d2dea208f7116da (patch)
treebb8a51090d7fde0abfd7714a0a68145c17cb8db9 /lib
parentcdef03389559306cee1dc31134f47c0748583d98 (diff)
downloadlz4-c04df7e1b5fb1e4ffa796d2b3d2dea208f7116da.zip
lz4-c04df7e1b5fb1e4ffa796d2b3d2dea208f7116da.tar.gz
lz4-c04df7e1b5fb1e4ffa796d2b3d2dea208f7116da.tar.bz2
Changed : static library is no longer compiled with -fPIC by default (this option can still be added on the command line) See #53
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 4be1499..05260ca 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -66,7 +66,7 @@ all: liblz4
liblz4: lz4.c lz4hc.c lz4frame.c xxhash.c
@echo compiling static library
- @$(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $^
+ @$(CC) $(CPPFLAGS) $(CFLAGS) -c $^
@$(AR) rcs liblz4.a lz4.o lz4hc.o lz4frame.o xxhash.o
@echo compiling dynamic library $(LIBVER)
@$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared $^ -fPIC $(SONAME_FLAGS) -o $@.$(SHARED_EXT_VER)