File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ EXTRA_BUILD_ARGS="${@:-}"
15
15
# TODO(#8357): Remove -Wno-int-in-bool-context
16
16
# TODO: Replace -ET_HAVE_PREAD=0 with a CMake option.
17
17
# FileDataLoader used in the size_test breaks baremetal builds with pread when missing.
18
- COMMON_CXXFLAGS=" -fno-exceptions -fno-rtti -Wall -Werror -Wno-int-in-bool-context -DET_HAVE_PREAD=0"
18
+ # -Werror=maybe-uninitialized causes failures with GCC 9.5, which we
19
+ # -currently use in CI. There were known issues with this warning and
20
+ # -std::optional: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635
21
+ COMMON_CXXFLAGS=" -fno-exceptions -fno-rtti -Wall -Werror -Wno-int-in-bool-context -Wno-maybe-uninitialized -DET_HAVE_PREAD=0"
19
22
20
23
cmake_install_executorch_lib () {
21
24
echo " Installing libexecutorch.a"
You can’t perform that action at this time.
0 commit comments