diff --git a/tests/Makefile b/tests/Makefile index 4ca9e0c7d5..46904da2f3 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -2482,10 +2482,10 @@ else MAKEINC=$(TEST_OUTPUTDIR)/MakeChunks-$(TEST_TARGETSUFFIX).inc $(GPARMAKE): utils/gparmake.pp $(CREATELST) $(Q)$(MAKE) $(COMPILER_UNITTARGETDIR) - $(FPC) -FE. utils/gparmake.pp $(OPT) + $(FPC) -FE. utils/gparmake.pp $(FPCOPT) $(CREATELST): utils/createlst.pp $(Q)$(MAKE) $(COMPILER_UNITTARGETDIR) - $(FPC) -FE. utils/createlst.pp $(OPT) + $(FPC) -FE. utils/createlst.pp $(FPCOPT) $(MAKEINC): $(GPARMAKE) $(CREATELST) $(Q)$(MAKE) $(TEST_OUTPUTDIR) $(Q)$(CREATELST) filelisttest.lst $(TESTDIRS) diff --git a/tests/Makefile.fpc b/tests/Makefile.fpc index 7bf5b7c332..f65f0bd40d 100644 --- a/tests/Makefile.fpc +++ b/tests/Makefile.fpc @@ -506,11 +506,11 @@ MAKEINC=$(TEST_OUTPUTDIR)/MakeChunks-$(TEST_TARGETSUFFIX).inc $(GPARMAKE): utils/gparmake.pp $(CREATELST) $(Q)$(MAKE) $(COMPILER_UNITTARGETDIR) - $(FPC) -FE. utils/gparmake.pp $(OPT) + $(FPC) -FE. utils/gparmake.pp $(FPCOPT) $(CREATELST): utils/createlst.pp $(Q)$(MAKE) $(COMPILER_UNITTARGETDIR) - $(FPC) -FE. utils/createlst.pp $(OPT) + $(FPC) -FE. utils/createlst.pp $(FPCOPT) # Can't have testprep as prerequisite, because that is a phony target and # phony targets are always remade. Since the makefile will be reparsed