mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 12:05:57 +02:00
Add -Cg option for mips and mipsel cpu's on unix-like systems
git-svn-id: trunk@29384 -
This commit is contained in:
parent
2c26c35eb6
commit
491fb0dcce
@ -1403,9 +1403,10 @@ ifdef CREATESHARED
|
|||||||
override FPCOPT+=-Cg
|
override FPCOPT+=-Cg
|
||||||
endif
|
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),)
|
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
|
override FPCOPT+=-Cg
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user