Browse Source

Regenerated after: Add -Cg for bootstrap depending on source OS/CPU as it is normally added for target OS/CPU

git-svn-id: trunk@32604 -
pierre 9 years ago
parent
commit
312e51328a
1 changed files with 5 additions and 0 deletions
  1. 5 0
      packages/fpmkunit/Makefile

+ 5 - 0
packages/fpmkunit/Makefile

@@ -376,6 +376,11 @@ ifdef CPU_TARGET
 FPC_TARGETOPT+=--cpu=$(CPU_TARGET)
 endif
 LOCALFPMAKE=./fpmake$(SRCEXEEXT)
+ifneq ($(findstring $(OS_SOURCE),dragonfly freebsd openbsd netbsd linux solaris),)
+ifneq ($(findstring $(CPU_SOURCE),x86_64 mips mipsel),)
+override FPCMAKEOPT+=-Cg
+endif
+endif
 override INSTALL_FPCPACKAGE=y
 ifdef REQUIRE_UNITSDIR
 override UNITSDIR+=$(REQUIRE_UNITSDIR)