Improve build portability.
This commit is contained in:
parent
1cb427aa65
commit
9cdc13e0f5
@ -157,6 +157,7 @@ SConscript('sbin/init/SConscript', variant_dir='build/sbin/init')
|
|||||||
env["TOOLCHAINBUILD"] = "TRUE"
|
env["TOOLCHAINBUILD"] = "TRUE"
|
||||||
env["CC"] = "cc"
|
env["CC"] = "cc"
|
||||||
env["CXX"] = "c++"
|
env["CXX"] = "c++"
|
||||||
|
env["LINK"] = "cc"
|
||||||
SConscript('sbin/newfs_o2fs/SConscript', variant_dir='build/tools/newfs_o2fs')
|
SConscript('sbin/newfs_o2fs/SConscript', variant_dir='build/tools/newfs_o2fs')
|
||||||
|
|
||||||
# Install Targets
|
# Install Targets
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
OUTPUT_FORMAT("elf64-x86-64-freebsd",
|
/*OUTPUT_FORMAT("elf64-x86-64-freebsd",
|
||||||
"elf64-x86-64-freebsd",
|
"elf64-x86-64-freebsd",
|
||||||
"elf64-x86-64-freebsd")
|
"elf64-x86-64-freebsd")*/
|
||||||
|
|
||||||
OUTPUT_ARCH(i386:x86-64)
|
OUTPUT_ARCH(i386:x86-64)
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
Loading…
Reference in New Issue
Block a user