summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2019-07-02 13:40:33 -0400
committerFrans Kaashoek <[email protected]>2019-07-02 13:40:33 -0400
commitda51735980e500922bc108a3444b64ac9450032e (patch)
tree76ad738ff42f56a36ea2300b2d90946e64d5040e /Makefile
parent67702cf706bce7adef472f0caa48d81ddfaeb33a (diff)
downloadxv6-labs-da51735980e500922bc108a3444b64ac9450032e.tar.gz
xv6-labs-da51735980e500922bc108a3444b64ac9450032e.tar.bz2
xv6-labs-da51735980e500922bc108a3444b64ac9450032e.zip
Avoid two cores selecting the same process to run
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 88130e1..9090680 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ OBJCOPY = $(TOOLPREFIX)objcopy
OBJDUMP = $(TOOLPREFIX)objdump
# CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -MD -ggdb -Werror -fno-omit-frame-pointer -O
-CFLAGS = -Wall -Werror -O -fno-omit-frame-pointer -ggdb
+CFLAGS = -Wall -Werror -O0 -fno-omit-frame-pointer -ggdb
CFLAGS += -mcmodel=medany
CFLAGS += -ffreestanding -fno-common -nostdlib -mno-relax
CFLAGS += -I.