From cbcc6eb7bf80bc9ad4483996ccd6d719932e0319 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 12 Mar 2012 16:52:50 -0700 Subject: [PATCH] Don't pass CAN_USE_VFP_INSTRUCTIONS to V8. V8 is already capable of auto-detecting VFP3 support at runtime. The only reason to pass this flag is for the emulator when creating snapshots. Currently, there is no way to figure if a target is VFP3 enabled or not. There are no compiler flags to detect this automatically either, so we have to add an option to qtbase/configure. https://bugreports.qt-project.org/browse/QTBUG-24760 tracks the addition of the option. Change-Id: I3482ae483b925d5f153a1631cc04a52ecab72f4e Reviewed-by: Kent Hansen --- src/v8/v8.pri | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/v8/v8.pri b/src/v8/v8.pri index a67a6c1..f75de61 100644 --- a/src/v8/v8.pri +++ b/src/v8/v8.pri @@ -154,7 +154,9 @@ contains(config_test_hardfloat, yes) { } else { DEFINES += USE_EABI_HARDFLOAT=0 } -DEFINES += CAN_USE_VFP_INSTRUCTIONS +# Disable VFP3 until we add an option to configure +# QTBUG-24760 +false:DEFINES += CAN_USE_VFP_INSTRUCTIONS SOURCES += \ $$V8SRC/arm/builtins-arm.cc \ $$V8SRC/arm/code-stubs-arm.cc \ -- 2.7.4