diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-26 15:50:27 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-26 15:50:27 -0700 |
commit | 800d06ff7b6fa7a7741a5ef41ed16795b542b787 (patch) | |
tree | 927b233865133df4fb59e36b39568cebbc815379 | |
parent | 8065630f2e00860f6b0e9ee885b3e29f4a129e1f (diff) | |
download | syslinux-800d06ff7b6fa7a7741a5ef41ed16795b542b787.tar.gz |
head.inc: error out on NASM older than 2.00
NASM 0.98.39, the last 0.98.x supported version, is known to
miscompile Syslinux; the fix is
b0e1d423dd3e174a92a1d7256aec4e9b701ece3c and was added in
NASM 0.99.06. Since NASM 0.99.x were alpha test releases, require
NASM 2.00 which was the first "real" release after the fix.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | core/head.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/head.inc b/core/head.inc index 3915daef..18ce132c 100644 --- a/core/head.inc +++ b/core/head.inc @@ -20,6 +20,10 @@ %ifndef _HEAD_INC %define _HEAD_INC +%if __NASM_MAJOR__ < 2 + %error "NASM 2.00 or later required to compile correctly" +%endif + %include "macros.inc" %include "config.inc" %include "layout.inc" |