mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-06 12:23:13 +01:00
Change meaning of optimization levels: -O0 now means 'no optimization' like with
other compilers.
This commit is contained in:
@@ -121,9 +121,9 @@ int linkExecutable(const char* argv0)
|
||||
{
|
||||
case 0:
|
||||
args.push_back("-disable-opt");
|
||||
args.push_back("-globaldce");
|
||||
break;
|
||||
case 1:
|
||||
args.push_back("-globaldce");
|
||||
args.push_back("-disable-opt");
|
||||
args.push_back("-globaldce");
|
||||
args.push_back("-mem2reg");
|
||||
|
||||
Reference in New Issue
Block a user