We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67560f6 commit f3dda17Copy full SHA for f3dda17
src/bootstrap/lib.rs
@@ -874,6 +874,13 @@ impl Build {
874
if target.contains("apple-darwin") {
875
base.push("-stdlib=libc++".into());
876
}
877
+
878
+ // Work around an apparently bad MinGW / GCC optimization,
879
+ // See: http://lists.llvm.org/pipermail/cfe-dev/2016-December/051980.html
880
+ // See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78936
881
+ if target == "i686-pc-windows-gnu" {
882
+ base.push("-fno-omit-frame-pointer".into());
883
+ }
884
return base
885
886
0 commit comments