Browse Source

* search for gtar first

git-svn-id: trunk@2600 -
florian 19 years ago
parent
commit
f4738689ba
2 changed files with 6 additions and 1 deletions
  1. 5 0
      Makefile
  2. 1 1
      utils/fpcm/fpcmwr.pp

+ 5 - 0
Makefile

@@ -1104,12 +1104,17 @@ endif
 endif
 export ZIPPROG
 ifndef TARPROG
+TARPROG:=$(strip $(wildcard $(addsuffix /gtar$(SRCEXEEXT),$(SEARCHPATH))))
+ifeq ($(TARPROG),)
 TARPROG:=$(strip $(wildcard $(addsuffix /tar$(SRCEXEEXT),$(SEARCHPATH))))
 ifeq ($(TARPROG),)
 TARPROG= __missing_command_TARPROG
 else
 TARPROG:=$(firstword $(TARPROG))
 endif
+else
+TARPROG:=$(firstword $(TARPROG))
+endif
 endif
 export TARPROG
 ASNAME=$(BINUTILSPREFIX)as

+ 1 - 1
utils/fpcm/fpcmwr.pp

@@ -612,7 +612,7 @@ implementation
         AddTool('PPUMOVE','ppumove','');
         AddTool('FPCMAKE','fpcmake','');
         AddTool('ZIPPROG','zip','');
-        AddTool('TARPROG','tar','');
+        AddTool('TARPROG','gtar','tar');
         AddIniSection('defaulttools');
       end;