feat: Ability to send command to ATA device.
[lunaix-os.git] / lunaix-os / config / make-cc
index f3ce340ae14c890a64eba149cdacbe270965f6fe..00ed9f34898ebbf84ae083fee944822d85dec0f3 100644 (file)
@@ -1,9 +1,10 @@
-CC := i686-elf-gcc
-AS := i686-elf-as
+TOOLCHAIN := ${HOME}/opt/cross-compiler/bin/
+CC := ${TOOLCHAIN}i686-elf-gcc
+AS := ${TOOLCHAIN}i686-elf-as
 
 
 ARCH_OPT := -D__ARCH_IA32
 O := -O2
-W := -Wall -Wextra
+W := -Wall -Wextra -Wno-unknown-pragmas
 CFLAGS := -std=gnu99 -ffreestanding $(O) $(W) $(ARCH_OPT)
 LDFLAGS := -ffreestanding $(O) -nostdlib -lgcc
\ No newline at end of file