diff --git a/x86/syslinux/syslinux.conf b/x86/syslinux/syslinux.conf index e502d3100..1d0f61f94 100644 --- a/x86/syslinux/syslinux.conf +++ b/x86/syslinux/syslinux.conf @@ -24,3 +24,6 @@ makeopt= var_remove GCC2_WRAPPER_INSERT ' ' "-fstack-protector" var_remove GCC3_WRAPPER_INSERT ' ' "-fstack-protector" +# they define LD=ld -m elf_i386 on every Makefile, which we override. +# $(CC) is called with -m32, so if we drop the -melf_i386, they wont link +export LD="$LD -m elf_i386"