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
b062d23947
commit
c5f105a7b6
@@ -12,7 +12,7 @@ load(
|
|||||||
"yoga_dep",
|
"yoga_dep",
|
||||||
)
|
)
|
||||||
|
|
||||||
COMPILER_FLAGS = BASE_COMPILER_FLAGS + ["-std=c++14"]
|
COMPILER_FLAGS = BASE_COMPILER_FLAGS + ["-std=c++11"]
|
||||||
|
|
||||||
fb_native.csharp_library(
|
fb_native.csharp_library(
|
||||||
name = "yogalibnet46",
|
name = "yogalibnet46",
|
||||||
|
@@ -18,7 +18,7 @@ yoga_cxx_library(
|
|||||||
"-Wall",
|
"-Wall",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
"-Os",
|
"-Os",
|
||||||
"-std=c++14",
|
"-std=c++11",
|
||||||
],
|
],
|
||||||
platforms = ANDROID,
|
platforms = ANDROID,
|
||||||
preprocessor_flags = [
|
preprocessor_flags = [
|
||||||
|
@@ -32,7 +32,7 @@ yoga_cxx_library(
|
|||||||
"-Wall",
|
"-Wall",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
"-Wno-unused-parameter",
|
"-Wno-unused-parameter",
|
||||||
"-std=c++14",
|
"-std=c++11",
|
||||||
],
|
],
|
||||||
platforms = (ANDROID,),
|
platforms = (ANDROID,),
|
||||||
visibility = ["PUBLIC"],
|
visibility = ["PUBLIC"],
|
||||||
|
Reference in New Issue
Block a user