Add option to avoid compilation error
This commit is contained in:
parent
23a253aa50
commit
15ed23531f
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ OBJDUMP := $(GCCDIR)/objdump
|
||||||
|
|
||||||
CPP := $(GCCDIR)/$(GCC) -E -P
|
CPP := $(GCCDIR)/$(GCC) -E -P
|
||||||
INCDIR := -I../userprog -I../threads
|
INCDIR := -I../userprog -I../threads
|
||||||
CFLAGS := -DIN_USER_MODE $(INCDIR) -Wall -O2 -DCHANGED
|
CFLAGS := -DIN_USER_MODE $(INCDIR) -Wall -O2 -DCHANGED -G 0
|
||||||
|
|
||||||
SOURCES := $(wildcard *.c)
|
SOURCES := $(wildcard *.c)
|
||||||
PROGS := $(patsubst %.c,%,$(SOURCES))
|
PROGS := $(patsubst %.c,%,$(SOURCES))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue