blob: 516bca4ac13c8001519a429acb9ea9049e28ad2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
We need this otherwise the built code will assert when building dev-lang/rust
later. Not yet reported upstream.
--- a/src/trans/codegen_c.cpp
+++ b/src/trans/codegen_c.cpp
@@ -1274,6 +1274,7 @@ namespace {
{
args.push_back( a.c_str() );
}
+ args.push_back("-U_GLIBCXX_ASSERTIONS"); // TODO
args.push_back("-Wno-psabi"); // Suppress "note: the ABI for passing parameters with 128-byte alignment has changed in GCC 4.6"
switch(opt.opt_level)
{
|