From fb99f55939311fcd2798dc8e4a805f7e07c2baa9 Mon Sep 17 00:00:00 2001 From: Michael Lee Date: Fri, 12 May 2017 13:29:50 -0700 Subject: [PATCH] Fix compilation due to missing flag Reviewed By: mhorowitz Differential Revision: D5053975 fbshipit-source-id: cfb5e71d7c9c318fa1942ce9d4dc72b4f7c1e054 --- ReactCommon/cxxreact/tests/BUCK | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ReactCommon/cxxreact/tests/BUCK b/ReactCommon/cxxreact/tests/BUCK index f8f29de42..2d89a2dd3 100644 --- a/ReactCommon/cxxreact/tests/BUCK +++ b/ReactCommon/cxxreact/tests/BUCK @@ -11,7 +11,6 @@ TEST_SRCS = [ if THIS_IS_FBANDROID: include_defs('//ReactAndroid/DEFS') include_defs('//ReactAndroid/TEST_DEFS') - jni_instrumentation_test_lib( name = 'tests', class_under_test = 'com/facebook/react/XplatBridgeTest', @@ -19,7 +18,8 @@ if THIS_IS_FBANDROID: srcs = TEST_SRCS, compiler_flags = [ '-fexceptions', - '-std=c++1y', + '-frtti', + '-std=c++14', ], deps = [ '//native/third-party/android-ndk:android', @@ -35,6 +35,7 @@ if THIS_IS_FBOBJC: srcs = TEST_SRCS, compiler_flags = [ '-fexceptions', + '-frtti', ], deps = [ '//xplat/folly:molly',