Remove c++1y compiler flag

Reviewed By: meyering

Differential Revision: D15326600

fbshipit-source-id: 837f454ccf27299bc9360174bf54e48e4209bb52
This commit is contained in:
Yadong Wen
2019-05-14 13:35:05 -07:00
committed by Facebook Github Bot
parent e3156279fc
commit d7ff5c0689

7
BUCK
View File

@@ -9,12 +9,7 @@ GMOCK_OVERRIDE_FLAGS = [
"-Wno-inconsistent-missing-override", "-Wno-inconsistent-missing-override",
] ]
COMPILER_FLAGS = LIBRARY_COMPILER_FLAGS + [
"-std=c++1y",
]
TEST_COMPILER_FLAGS = BASE_COMPILER_FLAGS + GMOCK_OVERRIDE_FLAGS + [ TEST_COMPILER_FLAGS = BASE_COMPILER_FLAGS + GMOCK_OVERRIDE_FLAGS + [
"-std=c++1y",
"-DDEBUG", "-DDEBUG",
"-DYG_ENABLE_EVENTS", "-DYG_ENABLE_EVENTS",
] ]
@@ -24,7 +19,7 @@ yoga_cxx_library(
srcs = glob(["yoga/**/*.cpp"]), srcs = glob(["yoga/**/*.cpp"]),
header_namespace = "", header_namespace = "",
exported_headers = subdir_glob([("", "yoga/**/*.h")]), exported_headers = subdir_glob([("", "yoga/**/*.h")]),
compiler_flags = COMPILER_FLAGS, compiler_flags = LIBRARY_COMPILER_FLAGS,
soname = "libyogacore.$(ext)", soname = "libyogacore.$(ext)",
tests = [":YogaTests"], tests = [":YogaTests"],
visibility = ["PUBLIC"], visibility = ["PUBLIC"],