mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
06fac8298f
Without this patch, `compiler-rt` fails to build when the `CFLAGS` environment variable contains a `-Werror=*` flag (for example `-Werror=format-security`). The build system was removing only the `-Werror` part from the flag, thus passing an unrecognized `=*` (for example `=format-security`) argument to gcc.