feat: dynamic boot medium probing and mounting
[lunaix-os.git] / lunaix-os / config / make-cc
index 4491370c42fd1fa3fa5570f97e98f6398784df31..7915afe89a0949d305ea569d5c9664564b9c3e52 100644 (file)
@@ -1,5 +1,6 @@
 CC := i686-elf-gcc
 AS := i686-elf-as
+AR := i686-elf-ar
 
 
 ARCH_OPT := -D__ARCH_IA32 -include flags.h
@@ -16,7 +17,10 @@ OFLAGS := -fno-gcse\
                  -fno-cse-follow-jumps\
                  -fno-cse-skip-blocks\
                  -fno-optimize-strlen\
-                 -fno-tree-builtin-call-dce 
+                 -fno-inline-functions-called-once \
+                 -fno-inline-functions \
+                 -fno-inline-small-functions \
+                 -fno-indirect-inlining
 
 CFLAGS := -std=gnu99 -ffreestanding $(O) $(OFLAGS) $(W) $(ARCH_OPT)
 LDFLAGS := -ffreestanding $(O) -nostdlib -lgcc
\ No newline at end of file