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
feat: lru eviction policy on page caches
[lunaix-os.git]
/
lunaix-os
/
config
/
make-cc
diff --git
a/lunaix-os/config/make-cc
b/lunaix-os/config/make-cc
index 643b4eee1dbefc44c9c9e0f86d9f0c4534b62f8a..7a1899c327622e7abe2fdb86482ceb0b42dc3176 100644
(file)
--- a/
lunaix-os/config/make-cc
+++ b/
lunaix-os/config/make-cc
@@
-4,6
+4,12
@@
AS := i686-elf-as
ARCH_OPT := -D__ARCH_IA32
O := -O2
ARCH_OPT := -D__ARCH_IA32
O := -O2
-W := -Wall -Wextra -Wno-unknown-pragmas
+W := -Wall -Wextra -Wno-unknown-pragmas \
+ -Wno-unused-function \
+ -Wno-unused-but-set-variable \
+ -Wno-unused-parameter \
+ -Wno-unused-variable\
+ -Werror=incompatible-pointer-types
+
CFLAGS := -std=gnu99 -ffreestanding $(O) $(W) $(ARCH_OPT)
LDFLAGS := -ffreestanding $(O) -nostdlib -lgcc
\ No newline at end of file
CFLAGS := -std=gnu99 -ffreestanding $(O) $(W) $(ARCH_OPT)
LDFLAGS := -ffreestanding $(O) -nostdlib -lgcc
\ No newline at end of file