blob: d4023916d46baa06330206d8b83ea8d31de0f32b [file] [log] [blame]
diff --git a/Makefile b/Makefile
index 329da9f..c7fa8ad 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ YASM ?= yasm
NASM ?= nasm
# Detect NASM version (minimum version required: 2.14)
-NASM_VERSION = $(shell nasm -v | cut -d " " -f 3)
+NASM_VERSION = $(shell $(NASM) -v | cut -d " " -f 3)
NASM_MAJOR_REQ = 2
NASM_MINOR_REQ = 14