aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-08-01 18:48:06 -0700
committerStephen Hines <srhines@google.com>2012-08-01 18:48:06 -0700
commit52d132c53a57c3bb4b517f87ec4f0148ef8a4216 (patch)
tree1a239eac36905c74671308e561fb3cf1d59e09b1
parent1d4afec296da19b858918e15129eb29cc97a3c5d (diff)
downloadandroid_frameworks_compile_slang-52d132c53a57c3bb4b517f87ec4f0148ef8a4216.tar.gz
android_frameworks_compile_slang-52d132c53a57c3bb4b517f87ec4f0148ef8a4216.tar.bz2
android_frameworks_compile_slang-52d132c53a57c3bb4b517f87ec4f0148ef8a4216.zip
Set LangOpts.Renderscript = 1.
Change-Id: I7f80d124d11eeed776ce3acd520297fc0c3f08f6
-rw-r--r--slang.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/slang.cpp b/slang.cpp
index 662c243..a9fa0df 100644
--- a/slang.cpp
+++ b/slang.cpp
@@ -155,6 +155,7 @@ void Slang::GlobalInitialization() {
LangOpts.RTTI = 0; // Turn off the RTTI information support
LangOpts.NeXTRuntime = 0; // Turn off the NeXT runtime uses
LangOpts.C99 = 1;
+ LangOpts.Renderscript = 1;
LangOpts.CharIsSigned = 1; // Signed char is our default.
CodeGenOpts.OptimizationLevel = 3;