summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sproul <micsproul@gmail.com>2014-11-02 13:50:20 -0800
committerMichael Sproul <micsproul@gmail.com>2014-11-02 13:50:20 -0800
commit56a1c5b050a7d718ad8c26f8f41a89431fc0a607 (patch)
tree0aacc9ee09aced8ee9b8a385018376ca328071e0
parent45ca1bc3867a48c75a6c464cf2420e25a8ef74c6 (diff)
Add -fPIC to linker options.
Fixes #179.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8ebefce..c57e4b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CFLAGS?=-g -O3 -Wall -Wextra -std=c99 -Isrc -Wno-missing-field-initializers -fPIC $(OPTCFLAGS)
-LDFLAGS?=-g -O3 -Wall -Werror $(OPTLDFLAGS)
+LDFLAGS?=-g -O3 -Wall -Werror -fPIC $(OPTLDFLAGS)
SRCDIR?=src
DATADIR?=data
BENCHINP?=README.md