瀏覽代碼

* 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 8 年之前
父節點
當前提交
ba40d4e0f3
共有 1 個文件被更改,包括 2 次插入2 次删除
  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