summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-11-04 01:08:36 +0200
committerVicent Marti <tanoku@gmail.com>2010-11-04 01:08:36 +0200
commit1714826fa08ad8612b720c8fdea636a4fc49c480 (patch)
tree7a3f0844db9463189bd594bac08a70c3004c4e5d
parent1544bc31ca8822183cf8e1033660e0ea134a59cb (diff)
downloadlibgit2-1714826fa08ad8612b720c8fdea636a4fc49c480.tar.gz
Force PIC on the Makefile
Added -fPIC (position-independent code) to the EXTRA_CFLAGS var in the Makefile. Required in x64 when building the shared library. Signed-off-by: Vicent Marti <tanoku@gmail.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab5685026..858f18150 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ OS = unix
EXTRA_SRC =
EXTRA_OBJ =
-EXTRA_CFLAGS =
+EXTRA_CFLAGS = -fPIC
AR_OUT=
CC_OUT=-o # add a space