Merge branch 'vfs-dev'
[lunaix-os.git] / lunaix-os / config / make-cc
1 CC := i686-elf-gcc
2 AS := i686-elf-as
3
4
5 ARCH_OPT := -D__ARCH_IA32
6 O := -O2
7 W := -Wall -Wextra -Wno-unknown-pragmas \
8                 -Wno-unused-function \
9                 -Wno-unused-but-set-variable \
10                 -Wno-unused-parameter \
11                 -Wno-unused-variable\
12                 -Werror=incompatible-pointer-types
13                 
14 CFLAGS := -std=gnu99 -ffreestanding $(O) $(W) $(ARCH_OPT)
15 LDFLAGS := -ffreestanding $(O) -nostdlib -lgcc