|
@@ -564,10 +564,7 @@ try
|
|
|
Common.raw_define com l;
|
|
|
),"<name[:ver]>","use a haxelib library");
|
|
|
("Compilation",["-D";"--define"],[],Arg.String (fun var ->
|
|
|
- begin match var with
|
|
|
- | "no_copt" | "no-copt" -> com.foptimize <- false;
|
|
|
- | _ -> if List.mem var reserved_flags then raise (Arg.Bad (var ^ " is a reserved compiler flag and cannot be defined from command line"));
|
|
|
- end;
|
|
|
+ if List.mem var reserved_flags then raise (Arg.Bad (var ^ " is a reserved compiler flag and cannot be defined from command line"));
|
|
|
Common.raw_define com var;
|
|
|
),"<var[=value]>","define a conditional compilation flag");
|
|
|
("Debug",["-v";"--verbose"],[],Arg.Unit (fun () ->
|