-fPIC is necessary on x64_64

This commit is contained in:
Jindřich Makovička 2012-07-11 21:34:59 +02:00
parent 2d36594fa2
commit 76e2476c9b

View file

@ -145,9 +145,9 @@ ifeq ($(ARCH),i386)
CXXFLAGS += -m32
LDFLAGS += -m32
else ifeq ($(ARCH),x86_64)
CFLAGS += -m64
CXXFLAGS += -m64
LDFLAGS += -m64
CFLAGS += -m64 -fPIC
CXXFLAGS += -m64 -fPIC
LDFLAGS += -m64 -fPIC
else ifeq ($(ARCH),armv6)
else
$(error Undefined ARCH $(ARCH))