Remove the -N flag that was used when linking the kernel

This commit is contained in:
Ali Mashtizadeh 2015-02-24 16:58:08 -08:00
parent a357b2f034
commit 6a7fd630ce

View File

@ -72,7 +72,7 @@ if (env["ARCH"] == "amd64"):
ldscript = "#sys/amd64/kernel.lds"
src.append(src_common)
kern_env.Append(LINKFLAGS = ['-T', ldscript[1:], '-N', '-nostdlib'])
kern_env.Append(LINKFLAGS = ['-T', ldscript[1:], '-nostdlib'])
kern_env.Append(CPPFLAGS = ['-D_KERNEL'])
kern_env.Append(CPPFLAGS = ['-ffreestanding', '-fno-builtin', '-nostdinc',
'-mno-red-zone', '-mno-mmx', '-mno-sse',