aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-03-08 00:20:08 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-03-08 00:21:09 -0800
commit1ac927d131d088e07320942d29f65208c34f08c8 (patch)
treeab16224977d2ae545de225646ab0d6f3485116bc
parent138e850fab106b5235178848b3e0d33e25f4d3a2 (diff)
downloadsyslinux-1ac927d131d088e07320942d29f65208c34f08c8.tar.gz
syslinux-1ac927d131d088e07320942d29f65208c34f08c8.tar.xz
syslinux-1ac927d131d088e07320942d29f65208c34f08c8.zip
head.inc: error out on NASM 2.11.06
NASM 2.11.06 is known to miscompile Syslinux, so error out on that NASM version. Kind of embarrassing for me... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/head.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/head.inc b/core/head.inc
index 71eb5744..b97db352 100644
--- a/core/head.inc
+++ b/core/head.inc
@@ -22,6 +22,8 @@
%if __NASM_MAJOR__ < 2 || (__NASM_MAJOR__ == 2 && __NASM_MINOR__ < 3)
%error "NASM 2.03 or later required to compile correctly"
+%elif __NASM_VERSION_ID__ == 0x020b0600
+ %fatal "NASM 2.11.06 is known to miscompile Syslinux"
%endif
%include "macros.inc"