From 3517d9628070caeacd1f54b1f767cd20a2fa57b9 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Wed, 25 Sep 2024 15:04:20 -0400 Subject: [PATCH] update makefile to compile on arch linux gcc --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 33cd4aa..9b670a7 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ CFLAGS := $(CFLAGS) $(DEFS) $(LABDEFS) -O1 -fno-builtin -I$(TOP) -MD CFLAGS += -fno-omit-frame-pointer CFLAGS += -std=gnu99 CFLAGS += -static -CFLAGS += -Wall -Wno-format -Wno-unused -Werror -gstabs -m32 +CFLAGS += -Wall -Wno-format -Wno-unused -Werror -m32 # -fno-tree-ch prevented gcc from sometimes reordering read_ebp() before # mon_backtrace()'s function prologue on gcc version: (Debian 4.7.2-5) 4.7.2 CFLAGS += -fno-tree-ch @@ -85,8 +85,8 @@ all: $(OBJDIR)/lib/%.o $(OBJDIR)/fs/%.o $(OBJDIR)/net/%.o \ $(OBJDIR)/user/%.o -KERN_CFLAGS := $(CFLAGS) -DJOS_KERNEL -gstabs -USER_CFLAGS := $(CFLAGS) -DJOS_USER -gstabs +KERN_CFLAGS := $(CFLAGS) -DJOS_KERNEL +USER_CFLAGS := $(CFLAGS) -DJOS_USER # Update .vars.X if variable X has changed since the last make run. #