git-svn-id: trunk@29384 -
@@ -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),)