mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
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:
parent
ccb7a93a7c
commit
6798cb05ee
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue