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>
This commit is contained in:
Vicent Marti 2010-11-04 01:08:36 +02:00
parent 1544bc31ca
commit 1714826fa0

View File

@ -30,7 +30,7 @@ OS = unix
EXTRA_SRC =
EXTRA_OBJ =
EXTRA_CFLAGS =
EXTRA_CFLAGS = -fPIC
AR_OUT=
CC_OUT=-o # add a space