summaryrefslogtreecommitdiff
path: root/libs/rs/rsScriptC.cpp
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2011-01-16 15:38:13 -0800
committerShih-wei Liao <sliao@google.com>2011-01-16 15:38:13 -0800
commit0e7be13973f13dd898003682b80cc48da11792c9 (patch)
treeb5504c5145c1011de8b15fb9fc71f59966e95c97 /libs/rs/rsScriptC.cpp
parent71a2e13d19fa8d8f88b6b97e2b28296094af3005 (diff)
Fix bug in on-device linking.
Change-Id: Ic027d4cbf240a45da95a024067215a572c3bd7a9
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
-rw-r--r--libs/rs/rsScriptC.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp
index 0ecb18a28d88..1ab210950525 100644
--- a/libs/rs/rsScriptC.cpp
+++ b/libs/rs/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