1
0
mirror of https://github.com/ptitSeb/Serious-Engine synced 2025-04-01 11:40:05 +02:00

"-mdynamic-no-pic" was largely a Mac OS X/powerpc optimization. Remove it.

This commit is contained in:
Ryan C. Gordon 2016-03-31 16:01:23 -04:00
parent 887bc474e0
commit f1e8add4ca

@ -637,10 +637,6 @@ else
OPTFLAG := -O3 -ffast-math -falign-loops=16 -fno-math-errno OPTFLAG := -O3 -ffast-math -falign-loops=16 -fno-math-errno
ifneq ($(strip $(macosx)),true) ifneq ($(strip $(macosx)),true)
OPTFLAG += -march=pentium -mcpu=pentiumpro OPTFLAG += -march=pentium -mcpu=pentiumpro
else
ifeq ($(strip $(static_link)),true)
OPTFLAG += -mdynamic-no-pic
endif
endif endif
endif endif
CFLAGS += -DNDEBUG -D_NDEBUG $(OPTFLAG) CFLAGS += -DNDEBUG -D_NDEBUG $(OPTFLAG)