git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a bit refactoring on kernel_init
[lunaix-os.git]
/
lunaix-os
/
config
/
make-cc
diff --git
a/lunaix-os/config/make-cc
b/lunaix-os/config/make-cc
index 416ae68828fa23ea3f86e5b9735846b462134acf..643b4eee1dbefc44c9c9e0f86d9f0c4534b62f8a 100644
(file)
--- a/
lunaix-os/config/make-cc
+++ b/
lunaix-os/config/make-cc
@@
-1,7
+1,9
@@
CC := i686-elf-gcc
AS := i686-elf-as
CC := i686-elf-gcc
AS := i686-elf-as
+
+ARCH_OPT := -D__ARCH_IA32
O := -O2
O := -O2
-W := -Wall -Wextra
-CFLAGS := -std=gnu99 -ffreestanding $(O) $(W)
+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
LDFLAGS := -ffreestanding $(O) -nostdlib -lgcc
\ No newline at end of file