OSDN Git Service

Allow WITH_JIT to be overridden in a custom buildspec.mk file.
authorDan Bornstein <danfuzz@android.com>
Tue, 13 Oct 2009 22:56:48 +0000 (15:56 -0700)
committerDan Bornstein <danfuzz@android.com>
Tue, 13 Oct 2009 22:56:48 +0000 (15:56 -0700)
Change-Id: I0fb7ffcfb9786f611e981d8f22f67a5ac8c9c405

core/combo/linux-arm.mk

index 44d3540..c826831 100644 (file)
@@ -198,8 +198,10 @@ $(combo_target)DEFAULT_SYSTEM_SHARED_LIBRARIES := libc libstdc++ libm
 
 $(combo_target)CUSTOM_LD_COMMAND := true
 
-# Enable the Dalvik JIT compiler
-WITH_JIT := true
+# Enable the Dalvik JIT compiler if not already specified.
+ifeq ($(strip $(WITH_JIT)),)
+    WITH_JIT := true
+endif
 
 define transform-o-to-shared-lib-inner
 $(TARGET_CXX) \