diff --git a/SConstruct b/SConstruct index 7b1a619..932abfa 100644 --- a/SConstruct +++ b/SConstruct @@ -157,6 +157,7 @@ SConscript('sbin/init/SConscript', variant_dir='build/sbin/init') env["TOOLCHAINBUILD"] = "TRUE" env["CC"] = "cc" env["CXX"] = "c++" +env["LINK"] = "cc" SConscript('sbin/newfs_o2fs/SConscript', variant_dir='build/tools/newfs_o2fs') # Install Targets diff --git a/sys/amd64/kernel.lds b/sys/amd64/kernel.lds index 76ee699..717030b 100644 --- a/sys/amd64/kernel.lds +++ b/sys/amd64/kernel.lds @@ -1,6 +1,6 @@ -OUTPUT_FORMAT("elf64-x86-64-freebsd", - "elf64-x86-64-freebsd", - "elf64-x86-64-freebsd") +/*OUTPUT_FORMAT("elf64-x86-64-freebsd", + "elf64-x86-64-freebsd", + "elf64-x86-64-freebsd")*/ OUTPUT_ARCH(i386:x86-64) ENTRY(_start)