Fix for new goblin, fix of accidental swap of fusermount -u and sudo umount

This commit is contained in:
Jeremy Soller 2016-10-16 13:58:45 -06:00
parent a37103fe47
commit 25fb1427ab
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ syscall = { path = "syscall/" }
[dependencies.goblin]
git = "https://github.com/m4b/goblin.git"
default-features = false
features = ["no_mach", "no_mach32", "no_pe", "no_pe32", "no_endian_fd", "pure"]
features = ["elf32", "elf64"]
[dev-dependencies]
arch_test = { path = "arch/test" }

View file

@ -113,7 +113,7 @@ else
CC=$(ARCH)-elf-gcc
CXX=$(ARCH)-elf-g++
ECHO=/bin/echo
FUMOUNT=fusermount -u
FUMOUNT=sudo umount
LD=$(ARCH)-elf-ld
LDFLAGS=--gc-sections
KRUSTCFLAGS+=-C linker=$(CC)
@ -124,7 +124,7 @@ else
CC=gcc
CXX=g++
ECHO=echo
FUMOUNT=sudo umount
FUMOUNT=fusermount -u
LD=ld
LDFLAGS=--gc-sections
ifneq ($(kvm),no)