summaryrefslogtreecommitdiffstats
path: root/build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch')
-rw-r--r--build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch b/build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch
new file mode 100644
index 00000000000..d4023916d46
--- /dev/null
+++ b/build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch
@@ -0,0 +1,13 @@
+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