|
@@ -1449,10 +1449,18 @@ override COMPILER:=$(strip $(FPC) $(FPCOPT))
|
|
|
|
|
|
# also call ppas if with command option -s
|
|
|
# but only if the FULL_SOURCE and FULL_TARGET are equal
|
|
|
-ifeq (,$(findstring -s ,$(COMPILER)))
|
|
|
+# or if -sh is used
|
|
|
+ifneq (,$(findstring -sh ,$(COMPILER)))
|
|
|
+UseEXECPPAS=1
|
|
|
+endif
|
|
|
+ifneq (,$(findstring -s ,$(COMPILER)))
|
|
|
+ifeq ($(FULL_SOURCE),$(FULL_TARGET))
|
|
|
+UseEXECPPAS=1
|
|
|
+endif
|
|
|
+endif
|
|
|
+ifneq ($(UseEXEPPAS),1)
|
|
|
EXECPPAS=
|
|
|
else
|
|
|
-ifeq ($(FULL_SOURCE),$(FULL_TARGET))
|
|
|
ifdef RUNBATCH
|
|
|
EXECPPAS:=@$(RUNBATCH) $(PPAS)
|
|
|
else
|