aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-05 15:15:04 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-05 15:15:04 -0800
commit7ac8be1ba4e3764257d0881c0f8e41e0a9e65d1b (patch)
tree25e48bf15a0b2ed99888279fb1b628331754e240 /src
parentd2f91efe1fcf98f59a8d142880e1910ddd2ff726 (diff)
disable runtimelink test when using LLVM opts
Diffstat (limited to 'src')
-rw-r--r--src/settings.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index 9dba6a24..b3442c01 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -183,6 +183,8 @@ var BUILD_AS_SHARED_LIB = 0; // Whether to build the code as a shared library, w
var RUNTIME_LINKED_LIBS = []; // If this is a main file (BUILD_AS_SHARED_LIB == 0), then
// we will link these at runtime. They must have been built with
// BUILD_AS_SHARED_LIB == 2.
+ // NOTE: LLVM optimizations run separately on the main file and
+ // linked libraries can break things.
var RUNTIME_TYPE_INFO = 0; // Whether to expose type info to the script at run time. This
// increases the size of the generated script, but allows you