diff --git a/Jamrules b/Jamrules index 67e30a34f5..178cb1697d 100644 --- a/Jamrules +++ b/Jamrules @@ -88,6 +88,11 @@ KERNEL_CCFLAGS ?= "-Wall -Wno-multichar -Wmissing-prototypes -finline -nostdinc" KERNEL_CCFLAGS += "-fno-builtin -D$(OBOS_TARGET_DEFINE) " ; KERNEL_CCFLAGS += "-DBOCHS_E9_HACK=$(BOCHS_E9_HACK) " ; +# Instructs the Library rule to not make its object files temporary. +# This is need as some objects are used in a static library and for an +# executable. +KEEPOBJS = true ; + AR = ar r ; # If no OBOS_OBJECT_TARGET is not defined yet, use our default directory and