-fPIC is necessary on x64_64
This commit is contained in:
parent
2d36594fa2
commit
76e2476c9b
1 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue