mirror of
https://github.com/uutils/coreutils
synced 2024-11-15 01:17:09 +00:00
Use -O instead of --opt-level 3 (closes #194)
This commit is contained in:
parent
68fd0971d0
commit
db48d109e7
2 changed files with 5 additions and 6 deletions
2
Makefile
2
Makefile
|
@ -19,7 +19,7 @@ TESTDIR := $(BASEDIR)/test
|
|||
TEMPDIR := $(BASEDIR)/tmp
|
||||
|
||||
# Flags
|
||||
RUSTCFLAGS := --opt-level=3 -L $(BUILDDIR)/
|
||||
RUSTCFLAGS := -O -L $(BUILDDIR)/
|
||||
RMFLAGS :=
|
||||
|
||||
# Handle config setup
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
#![feature(macro_rules)]
|
||||
#![feature(if_let, macro_rules)]
|
||||
|
||||
extern crate getopts;
|
||||
extern crate libc;
|
||||
|
@ -114,10 +114,9 @@ pub fn uumain(args: Vec<String>) -> int {
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
match remove(matches.free, force, interactive, one_fs, preserve_root,
|
||||
recursive, dir, verbose) {
|
||||
Ok(()) => ( /* pass */ ),
|
||||
Err(e) => return e
|
||||
if let Err(e) = remove(matches.free, force, interactive, one_fs, preserve_root,
|
||||
recursive, dir, verbose) {
|
||||
return e;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue