summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2010-08-05 12:10:54 -0400
committerRobert Morris <[email protected]>2010-08-05 12:10:54 -0400
commiteb18645f17877de4ced951eed5abac61bdfcd5c5 (patch)
treed5a40a1839ef1264a84f9eeff5723c7c67cad711 /Makefile
parentb738a4f1a2dd2956123a734327aeaf9d09b5faca (diff)
downloadxv6-labs-eb18645f17877de4ced951eed5abac61bdfcd5c5.tar.gz
xv6-labs-eb18645f17877de4ced951eed5abac61bdfcd5c5.tar.bz2
xv6-labs-eb18645f17877de4ced951eed5abac61bdfcd5c5.zip
fix allocuvm() to handle sbrk() with non-page-granularity argument
(maybe this never worked, but it works now)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a0c901d..ef9b66d 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ AS = $(TOOLPREFIX)gas
LD = $(TOOLPREFIX)ld
OBJCOPY = $(TOOLPREFIX)objcopy
OBJDUMP = $(TOOLPREFIX)objdump
-CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32
+CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
ASFLAGS = -m32 -gdwarf-2
# FreeBSD ld wants ``elf_i386_fbsd''