Improve build portability.

This commit is contained in:
Ali Mashtizadeh 2014-10-09 21:05:02 -07:00
parent 1cb427aa65
commit 9cdc13e0f5
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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)