From 3f2807e798c43bc191fca99723c63fcbbbe4b20c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 2 Sep 2021 21:48:35 +0100 Subject: [PATCH] detect native ppc64le --- src/openpower/simulator/envcmds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2