From: Luke Kenneth Casson Leighton Date: Thu, 2 Sep 2021 20:48:35 +0000 (+0100) Subject: detect native ppc64le X-Git-Tag: xlen-bcd~30 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f2807e798c43bc191fca99723c63fcbbbe4b20c;p=openpower-isa.git detect native ppc64le --- diff --git a/src/openpower/simulator/envcmds.py b/src/openpower/simulator/envcmds.py index dd0e6039..d24430ff 100644 --- a/src/openpower/simulator/envcmds.py +++ b/src/openpower/simulator/envcmds.py @@ -10,6 +10,6 @@ for cmd in ['objcopy', 'as', 'ld', 'gcc', 'ar', 'gdb']: default = cmd else: default = "powerpc64-linux-gnu-%s" % cmd - cmds[cmd] = os.environ.get(cmd.upper(), actual) + cmds[cmd] = os.environ.get(cmd.upper(), default)