summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-10-08 16:18:33 +0200
committerDiego Biurrun <diego@biurrun.de>2017-03-01 10:18:15 +0100
commit39e208f4d4756367c7cd2d581847e0c1b8a429c1 (patch)
tree6c3b1695b47827dc2224fdf75b0c0be781579847 /tests
parentd1d6230ea3dd2c34bcd121f958706f3177f8d8c5 (diff)
build: Generalize yasm/nasm-related variable names
None of them are specific to the YASM assembler.
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/Makefile2
-rw-r--r--tests/checkasm/checkasm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkasm/Makefile b/tests/checkasm/Makefile
index 87f92f4a89..d5febec74c 100644
--- a/tests/checkasm/Makefile
+++ b/tests/checkasm/Makefile
@@ -21,7 +21,7 @@ CHECKASMOBJS-$(CONFIG_AVCODEC) += $(AVCODECOBJS-yes)
CHECKASMOBJS-$(ARCH_AARCH64) += aarch64/checkasm.o
CHECKASMOBJS-$(HAVE_ARMV5TE_EXTERNAL) += arm/checkasm.o
-CHECKASMOBJS-$(HAVE_YASM) += x86/checkasm.o
+CHECKASMOBJS-$(HAVE_X86ASM) += x86/checkasm.o
CHECKASMOBJS += $(CHECKASMOBJS-yes) checkasm.o
CHECKASMOBJS := $(sort $(CHECKASMOBJS:%=tests/checkasm/%))
diff --git a/tests/checkasm/checkasm.h b/tests/checkasm/checkasm.h
index 462c908417..db71382ac3 100644
--- a/tests/checkasm/checkasm.h
+++ b/tests/checkasm/checkasm.h
@@ -89,7 +89,7 @@ static av_unused void *func_ref, *func_new;
/* Call the reference function */
#define call_ref(...) ((func_type *)func_ref)(__VA_ARGS__)
-#if ARCH_X86 && HAVE_YASM
+#if ARCH_X86 && HAVE_X86ASM
/* Verifies that clobbered callee-saved registers are properly saved and restored
* and that either no MMX registers are touched or emms is issued */
void checkasm_checked_call(void *func, ...);