From 1714826fa08ad8612b720c8fdea636a4fc49c480 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Thu, 4 Nov 2010 01:08:36 +0200 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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