Makefile: Remove -fno-pic from everywhere. This should fix building on Ubuntu 16.10 and any other platform that has PIE enabled.

git-svn-id: https://svn.eduke32.com/eduke32@5920 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-10-29 16:59:31 +00:00
parent ccb7a93a7c
commit 6798cb05ee

View file

@ -712,9 +712,6 @@ ifeq ($(SUBPLATFORM),LINUX)
endif
LIBS+= -lrt
ifeq (0,$(CLANG))
COMMONFLAGS += -fno-pic
endif
endif
ifeq ($(PLATFORM),DARWIN)
COMPILERFLAGS+= -DUNDERSCORES
@ -755,10 +752,6 @@ ifeq ($(PLATFORM),DARWIN)
ifneq ($(findstring x86_64,$(IMPLICIT_ARCH)),x86_64)
LINKERFLAGS += -read_only_relocs suppress
endif
ifeq (0,$(CLANG))
COMMONFLAGS += -fno-pic
endif
endif
ifeq ($(PLATFORM),WINDOWS)
COMPILERFLAGS+= -DUNDERSCORES -DHAVE_INTTYPES -Iplatform/Windows/include
@ -788,8 +781,6 @@ ifeq ($(PLATFORM),WINDOWS)
endif
#-lshfolder
STDCPPLIB:=-lstdc++
COMMONFLAGS += -fno-pic
else
RENDERTYPE?=SDL
MIXERTYPE?=SDL