aboutsummaryrefslogtreecommitdiff
path: root/tools/driver/prepare-native-runtime.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/driver/prepare-native-runtime.py')
-rw-r--r--tools/driver/prepare-native-runtime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/driver/prepare-native-runtime.py b/tools/driver/prepare-native-runtime.py
index bd1c8d7..10dfb7b 100644
--- a/tools/driver/prepare-native-runtime.py
+++ b/tools/driver/prepare-native-runtime.py
@@ -40,7 +40,7 @@ def main():
raise RuntimeError("Expected one native linker command: " + trace.stderr)
command = commands[0][1:]
directories = [Path(arg[2:]) for arg in command if arg.startswith("-L")]
- target = compiler("-dumpmachine").stdout.strip()
+ target = compiler("-print-effective-triple").stdout.strip()
files = {}
scripts = set()
arguments = []