core packages now split out
This commit is contained in:
8
build.cm
8
build.cm
@@ -7,9 +7,9 @@
|
||||
// Build.build_static(packages, target, output) - Build static binary
|
||||
|
||||
var fd = use('fd')
|
||||
var crypto = use('crypto')
|
||||
var crypto = use('internal/crypto')
|
||||
var blob = use('blob')
|
||||
var os = use('os')
|
||||
var os = use('internal/os')
|
||||
var toolchains = use('toolchains')
|
||||
var shop = use('internal/shop')
|
||||
var pkg_tools = use('package')
|
||||
@@ -718,7 +718,7 @@ Build.compile_native = function(src_path, target, buildtype, pkg) {
|
||||
// Compile QBE runtime stubs if needed
|
||||
var rc = null
|
||||
if (!fd.is_file(rt_o_path)) {
|
||||
qbe_rt_path = shop.get_package_dir('core') + '/qbe_rt.c'
|
||||
qbe_rt_path = shop.get_package_dir('core') + '/src/qbe_rt.c'
|
||||
rc = os.system(cc + san_flags + ' -c ' + qbe_rt_path + ' -o ' + rt_o_path + ' -fPIC')
|
||||
if (rc != 0) {
|
||||
print('QBE runtime stubs compilation failed'); disrupt
|
||||
@@ -790,7 +790,7 @@ Build.compile_native_ir = function(optimized, src_path, opts) {
|
||||
// Compile QBE runtime stubs if needed
|
||||
var rc = null
|
||||
if (!fd.is_file(rt_o_path)) {
|
||||
qbe_rt_path = shop.get_package_dir('core') + '/qbe_rt.c'
|
||||
qbe_rt_path = shop.get_package_dir('core') + '/src/qbe_rt.c'
|
||||
rc = os.system(cc + san_flags + ' -c ' + qbe_rt_path + ' -o ' + rt_o_path + ' -fPIC')
|
||||
if (rc != 0) {
|
||||
print('QBE runtime stubs compilation failed'); disrupt
|
||||
|
||||
Reference in New Issue
Block a user