Add -Cg option for mips and mipsel cpu's on unix-like systems

git-svn-id: trunk@29384 -
This commit is contained in:
pierre 2015-01-04 15:29:48 +00:00
parent 2c26c35eb6
commit 491fb0dcce

View File

@ -1403,9 +1403,10 @@ ifdef CREATESHARED
override FPCOPT+=-Cg
endif
# create always pic'ed code on x86_64
# create always pic'ed code on x86_64, mips and mipsel
# on unix-like systems
ifneq ($(findstring $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),)
ifeq ($(CPU_TARGET),x86_64)
ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel),)
override FPCOPT+=-Cg
endif
endif