summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-02 15:42:51 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-02 15:42:51 -0800
commit24fcf709ecb39638792ea19499da7e52974d5a2c (patch)
tree0aacc9ee09aced8ee9b8a385018376ca328071e0
parent45ca1bc3867a48c75a6c464cf2420e25a8ef74c6 (diff)
parent56a1c5b050a7d718ad8c26f8f41a89431fc0a607 (diff)
Merge pull request #181 from michaelsproul/fpic-linker
Add -fPIC to linker options.
-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