Explorar o código

* gparmake and createlst are (usually) compiled using the installed host compiler, so don't pass FPCOPT which is geared towards the target compiler instead and thus passes the unit directory of the that compiler's RTL which leads to the compiler picking up the wrong startup object files

git-svn-id: trunk@36692 -
svenbarth %!s(int64=8) %!d(string=hai) anos
pai
achega
ba40d4e0f3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tests/Makefile.fpc

+ 2 - 2
tests/Makefile.fpc

@@ -511,11 +511,11 @@ MAKEINC=$(TEST_OUTPUTDIR)/MakeChunks-$(TEST_TARGETSUFFIX).inc
 
 $(GPARMAKE): utils/gparmake.pp $(CREATELST)
 	$(Q)$(MAKE)  $(COMPILER_UNITTARGETDIR)
-	$(FPC) $(FPCOPT) -FE. utils/gparmake.pp $(OPT)
+	$(FPC) -FE. utils/gparmake.pp $(OPT)
 
 $(CREATELST): utils/createlst.pp
 	$(Q)$(MAKE)  $(COMPILER_UNITTARGETDIR)
-	$(FPC) $(FPCOPT) -FE. utils/createlst.pp $(OPT)
+	$(FPC) -FE. utils/createlst.pp $(OPT)
 
 # Can't have testprep as prerequisite, because that is a phony target and
 # phony targets are always remade. Since the makefile will be reparsed