Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f1f586f authored by Shih-wei Liao's avatar Shih-wei Liao
Browse files

Use bccLinkFile instead of bccLinkBC. Remove hacking.

Change-Id: I0ffea89553e3229ee5a3262846462298fc0f5dea
parent 11ac436f
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -485,12 +485,7 @@ bool ScriptCState::runCompiler(Context *rsc,
    }

#if 1
    if (bccLinkBC(s->mBccScript,
                  resName,
                  NULL /*rs_runtime_lib_bc*/,
                  1 /*rs_runtime_lib_bc_size*/
                    /*"1" means skip buffer here, and let libbcc decide*/,
                  0) != 0) {
    if (bccLinkFile(s->mBccScript, "/system/lib/libclcore.bc", 0) != 0) {
        LOGE("bcc: FAILS to link bitcode");
        return false;
    }