aboutsummaryrefslogtreecommitdiff
path: root/cpu.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-11-23 16:09:08 +0100
committerAnton Khirnov <anton@khirnov.net>2024-04-15 13:34:54 +0200
commit098523b825c14184592a8717c2c3becbf6bc3f9f (patch)
tree691cce5484bb2a63555e688a5bfad8fda7585e70 /cpu.c
parent1bf2694303843192e7098876c0fc709307eece65 (diff)
Switch from meson to configure+make.
Meson is an extra dependency and generally sucks.
Diffstat (limited to 'cpu.c')
-rw-r--r--cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu.c b/cpu.c
index 58d9154..3dd2ae8 100644
--- a/cpu.c
+++ b/cpu.c
@@ -21,7 +21,7 @@
#include "cpu.h"
-#if ARCH_X86 && HAVE_EXTERNAL_ASM
+#if ARCH_X86_64 && HAVE_NASM
static int get_cpu_flags_x86(void)
{
int rval = 0;
@@ -161,7 +161,7 @@ int mg2di_cpu_flags_get(void)
{
int flags = 0;
-#if ARCH_X86 && HAVE_EXTERNAL_ASM
+#if ARCH_X86_64 && HAVE_NASM
flags = get_cpu_flags_x86();
#endif