From 623594fb898ee0985801bbffa884e11bb5e02838 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Thu, 27 Aug 2020 21:40:42 -0700 Subject: [PATCH] Add LDEARCH environment variable to override config.guess host-triple in bin/machinetype (debug aid) modified: bin/machinetype --- bin/machinetype | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/machinetype b/bin/machinetype index 438e4a7..102139a 100755 --- a/bin/machinetype +++ b/bin/machinetype @@ -9,8 +9,7 @@ # # ######################################################################### -os=`./config.guess` - +os=${LDEARCH:-`./config.guess`} # o/s switch block case "$os" in sparc-*) echo sparc ;; @@ -22,6 +21,5 @@ case "$os" in powerpc-*) echo ppc ;; esac - ### Don't leave the variables set. unset os