Browse Source

* place -T as the first parameter on the commandline so a OPT=-A can
overwrite it

peter 26 years ago
parent
commit
528383c8c8
1 changed files with 6 additions and 2 deletions
  1. 6 2
      base/makefile.fpc

+ 6 - 2
base/makefile.fpc

@@ -460,7 +460,7 @@ endif
 override PPOPTDEF:=$(OPTDEF) -d$(CPU)
 override PPOPTDEF:=$(OPTDEF) -d$(CPU)
 
 
 # Load commandline OPT and add target and unit dir to be sure
 # Load commandline OPT and add target and unit dir to be sure
-override PPOPT:=$(OPT) -T$(OS_TARGET) $(NEEDOPT)
+override PPOPT:=-T$(OS_TARGET) $(NEEDOPT) $(OPT)
 
 
 # RTL first and then Unit dir (a unit can override RTLunit)
 # RTL first and then Unit dir (a unit can override RTLunit)
 ifdef RTLDIR
 ifdef RTLDIR
@@ -961,7 +961,11 @@ endif
 
 
 #
 #
 # $Log$
 # $Log$
-# Revision 1.11  1999-03-16 00:46:55  peter
+# Revision 1.12  1999-03-29 16:04:58  peter
+#   * place -T as the first parameter on the commandline so a OPT=-A can
+#     overwrite it
+#
+# Revision 1.11  1999/03/16 00:46:55  peter
 #   * makefile.fpc targets start with fpc_
 #   * makefile.fpc targets start with fpc_
 #   * small updates for install scripts
 #   * small updates for install scripts
 #
 #