summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure1
-rw-r--r--subdir.mak2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 902332f512..de881b93b2 100755
--- a/configure
+++ b/configure
@@ -2966,6 +2966,7 @@ AS=$as
LD=$ld
DEPCC=$dep_cc
YASM=$yasmexe
+YASMDEP=$yasmexe
AR=$ar
RANLIB=$ranlib
LN_S=$ln_s
diff --git a/subdir.mak b/subdir.mak
index ea91f3fe2d..5774c6d76f 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -31,7 +31,7 @@ $(SUBDIR)%-test.o: $(SUBDIR)%-test.c
$(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c $$(CC_O) $$^
$(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm
- $(YASM) $(YASMFLAGS) -I $$(<D)/ -M -o $$@ $$< > $$(@:.o=.d)
+ $(YASMDEP) $(YASMFLAGS) -I $$(<D)/ -M -o $$@ $$< > $$(@:.o=.d)
$(YASM) $(YASMFLAGS) -I $$(<D)/ -o $$@ $$<
clean::