aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-03 03:14:05 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-03 03:14:05 +0200
commit9ab366dc44785ed7b0910df98650c8c2d1d24524 (patch)
tree573818439baf7952130958d964f8221b32e6aaab /Makefile
parentmisc (diff)
downloadslibc-9ab366dc44785ed7b0910df98650c8c2d1d24524.tar.gz
slibc-9ab366dc44785ed7b0910df98650c8c2d1d24524.tar.bz2
slibc-9ab366dc44785ed7b0910df98650c8c2d1d24524.tar.xz
add printf functions, not fully implemented
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 50c156a..9e0fc15 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ CCFLAGS_INCLUDES = -Iinclude
CCFLAGS_OPTIIMISE = -Og -g
# Warning flags.
-CCFLAGS_WARNINGS = -Wall -Wextra -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \
+CCFLAGS_WARNINGS = -Wall -Wextra -Wdouble-promotion -Wno-format -Winit-self -Wmissing-include-dirs \
-Wtrampolines -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs -Winline -Wno-variadic-macros -Wsign-conversion \
-Wswitch-default -Wconversion -Wsync-nand -Wunsafe-loop-optimizations -Wcast-align \
@@ -45,6 +45,7 @@ CCFLAGS_WARNINGS = -Wall -Wextra -Wdouble-promotion -Wformat=2 -Winit-self -Wmis
-Wunsuffixed-float-constants -Wsuggest-attribute=const -Wsuggest-attribute=noreturn \
-Wsuggest-attribute=pure -Wsuggest-attribute=format -Wnormalized=nfkc
# -pedantic is excluded.
+# -Wno-format is temporarily substituted for -Wformat=1
# All flags used required when compiling the library.