X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/84d85ea7b7bba78431600369cf1717166e156cd0..cd09c4b222e4ddf45a42522563ae2471a829d1c8:/lunaix-os/config/make-cc diff --git a/lunaix-os/config/make-cc b/lunaix-os/config/make-cc index 416ae68..f3ce340 100644 --- a/lunaix-os/config/make-cc +++ b/lunaix-os/config/make-cc @@ -1,7 +1,9 @@ CC := i686-elf-gcc AS := i686-elf-as + +ARCH_OPT := -D__ARCH_IA32 O := -O2 W := -Wall -Wextra -CFLAGS := -std=gnu99 -ffreestanding $(O) $(W) +CFLAGS := -std=gnu99 -ffreestanding $(O) $(W) $(ARCH_OPT) LDFLAGS := -ffreestanding $(O) -nostdlib -lgcc \ No newline at end of file