summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2014-09-23 07:39:32 -0400
committerFrans Kaashoek <[email protected]>2014-09-23 07:39:32 -0400
commit053082fbed145108b811978a0cc0558afcb909ac (patch)
tree70b3a6058c04d859556201e8aa1ceb73a1bf1ae7 /Makefile
parente7d77aad2b2beb56a44ac5a4052fd748f0e81d9d (diff)
downloadxv6-labs-053082fbed145108b811978a0cc0558afcb909ac.tar.gz
xv6-labs-053082fbed145108b811978a0cc0558afcb909ac.tar.bz2
xv6-labs-053082fbed145108b811978a0cc0558afcb909ac.zip
ggdb -> gdwarf-2 for gcc4.8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5251f36..23b2fba 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ LD = $(TOOLPREFIX)ld
OBJCOPY = $(TOOLPREFIX)objcopy
OBJDUMP = $(TOOLPREFIX)objdump
#CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer
-CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer
+CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -fvar-tracking -fvar-tracking-assignments -O0 -g -Wall -MD -gdwarf-2 -m32 -Werror -fno-omit-frame-pointer
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
ASFLAGS = -m32 -gdwarf-2 -Wa,-divide
# FreeBSD ld wants ``elf_i386_fbsd''