Merge branch 'master' into iso-9660
[lunaix-os.git] / lunaix-os / makefile
index 2735946ad29feaa663c907eb6ce755be91392df8..058bcc8e8da5a5741a3f1e76f71028663bc7f008 100644 (file)
@@ -39,7 +39,7 @@ $(BUILD_DIR)/$(OS_ISO): $(ISO_DIR) $(BIN_DIR)/$(OS_BIN) GRUB_TEMPLATE
 
 all: clean $(BUILD_DIR)/$(OS_ISO)
 
-instable: O := -O2
+instable: CFLAGS := -g -std=gnu99 -ffreestanding $(O) $(W) $(ARCH_OPT) -D__LUNAIXOS_DEBUG__
 instable: all
 
 all-debug: O := -Og