Kernel now halts when there is no work
[akaros.git] / GNUmakefile
index 8549aa6..39ffd74 100644 (file)
@@ -133,6 +133,8 @@ KERN_CFLAGS += -D$(TARGET_ARCH) $(EXTRAARGS)
 KERN_CFLAGS += -O2 -pipe -MD -fno-builtin -gstabs -static
 KERN_CFLAGS += -Wall -Wno-format -Wno-unused -fno-strict-aliasing
 KERN_CFLAGS += -nostdinc -I$(dir $(GCC_LIB))/include
+# Our backtraces need the frame pointer
+KERN_CFLAGS += -fno-omit-frame-pointer
 
 # Universal loader flags
 LDFLAGS := -nostdlib