Skip to content

Commit

Permalink
Remove -fsjlj-exceptions from win32-config
Browse files Browse the repository at this point in the history
This seems to be missing using i686-w64-mingw32/10-posix after updating release images to Debian 11.

It is not clear why this flag was added in the first place for win32 but not win64.

Context: https://stackoverflow.com/questions/61206449/how-to-compile-with-clang-and-mingw-w64
PiperOrigin-RevId: 651545252
  • Loading branch information
zhangskz authored and copybara-github committed Jul 11, 2024
1 parent 5f366b3 commit ccb2362
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion toolchain/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ cc_toolchain_config(
extra_compiler_flags = [
"-isystem/usr/lib/gcc/i686-w64-mingw32/10-posix/include/c++",
"-isystem/usr/lib/gcc/i686-w64-mingw32/10-posix/include/c++/i686-w64-mingw32",
"-fsjlj-exceptions",
],
extra_include = "/usr/lib/gcc/i686-w64-mingw32",
extra_linker_flags = [
Expand Down

0 comments on commit ccb2362

Please sign in to comment.