diff options
author | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2016-04-15 00:04:08 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2016-04-15 00:25:35 +0530 |
commit | 2bdaa1f0c181511fab143eccf68c77fcc60c46e2 (patch) | |
tree | 8bf803992ee30da0bdd10773264cd9c82fc0400b /mesonbuild/interpreter.py | |
parent | c0765b0e8da6ad699b02dcc19a6480b3e6f71655 (diff) | |
download | meson-2bdaa1f0c181511fab143eccf68c77fcc60c46e2.zip meson-2bdaa1f0c181511fab143eccf68c77fcc60c46e2.tar.gz meson-2bdaa1f0c181511fab143eccf68c77fcc60c46e2.tar.bz2 |
Separate out cpu_method to environment.py and add amd64 quirk
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 3a831ce..e51692e 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -326,7 +326,7 @@ class BuildMachine(InterpreterObject): return environment.detect_cpu_family() def cpu_method(self, args, kwargs): - return platform.machine().lower() + return environment.detect_cpu() def system_method(self, args, kwargs): return environment.detect_system() |