mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-26 18:53:19 +08:00
JNI: set language level to C++11
Summary: @public compiler flags were pushed to C++14, but we don’t currently have any code that requires it. Setting to `-std=c++11` in order to fix the OSS build. Reviewed By: SidharthGuglani Differential Revision: D14833737 fbshipit-source-id: df2cd7da8c7124e89863c90d7b77bcf86c495618
This commit is contained in:
committed by
Facebook Github Bot
parent
8ec13c306c
commit
2d8ad076fe
@@ -11,7 +11,7 @@ oss_cxx_library(
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-O3",
|
||||
"-std=c++14",
|
||||
"-std=c++11",
|
||||
],
|
||||
soname = "libyoga.$(ext)",
|
||||
visibility = ["PUBLIC"],
|
||||
|
||||
Reference in New Issue
Block a user