diff options
author | Shih-wei Liao <sliao@google.com> | 2011-01-16 15:38:13 -0800 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2011-01-16 15:38:13 -0800 |
commit | b2cfc988101f93ee5e1fbcfc717230dee71aee3b (patch) | |
tree | 604cc5114fc7adcfbadbcb4f50533a327679c797 /rsScriptC.cpp | |
parent | 80761ecd7b19a44e6bb77437f4d99ee6b58fe251 (diff) | |
download | rs-b2cfc988101f93ee5e1fbcfc717230dee71aee3b.tar.gz |
Fix bug in on-device linking.
Change-Id: Ic027d4cbf240a45da95a024067215a572c3bd7a9
Diffstat (limited to 'rsScriptC.cpp')
-rw-r--r-- | rsScriptC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rsScriptC.cpp b/rsScriptC.cpp index 0ecb18a2..1ab21095 100644 --- a/rsScriptC.cpp +++ b/rsScriptC.cpp @@ -490,7 +490,8 @@ void ScriptCState::runCompiler(Context *rsc, if (bccLinkBC(s->mBccScript, resName, NULL /*rs_runtime_lib_bc*/, - 0 /*rs_runtime_lib_bc_size*/, + 1 /*rs_runtime_lib_bc_size*/ + /*"1" means skip buffer here, and let libbcc decide*/, 0) != 0) { LOGE("bcc: FAILS to link bitcode"); // Handle Fatal Error |