mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-13 06:29:11 +00:00
Fix some build breaks
This commit is contained in:
parent
27f7ffd4fd
commit
a81192e0b9
5 changed files with 5 additions and 10 deletions
|
@ -131,10 +131,6 @@ o/$(MODE)/examples/nesemu1.com.dbg: \
|
|||
$(APE)
|
||||
@$(APELINK)
|
||||
|
||||
o/$(MODE)/examples/loader.o: \
|
||||
OVERRIDE_CCFLAGS += \
|
||||
-fno-record-gcc-switches
|
||||
|
||||
o/$(MODE)/examples/loader.elf: \
|
||||
o/$(MODE)/examples/loader.o \
|
||||
examples/loader.lds
|
||||
|
|
|
@ -43,7 +43,7 @@ asm(".globl\t_start\n\t"
|
|||
"mov\t%rsp,%rdi\n\t"
|
||||
"jmp\tloader");
|
||||
|
||||
static noasan noubsan void spawn(long *sp, char *b) {
|
||||
static noinstrument noasan noubsan void spawn(long *sp, char *b) {
|
||||
struct Elf64_Ehdr *e;
|
||||
struct Elf64_Phdr *h;
|
||||
e = (void *)b;
|
||||
|
@ -61,7 +61,7 @@ static noasan noubsan void spawn(long *sp, char *b) {
|
|||
}
|
||||
}
|
||||
|
||||
noasan noubsan void loader(long *sp) {
|
||||
noinstrument noasan noubsan void loader(long *sp) {
|
||||
struct stat st;
|
||||
int c, i, fd, argc;
|
||||
char *b, *p, *q, **argv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue