diff options
| -rw-r--r-- | Makefile.flags | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags index 384b0f8d6..669e30cfc 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
| @@ -16,10 +16,16 @@ CPPFLAGS += \ | |||
| 16 | -D"BB_VER=KBUILD_STR($(BB_VER))" -DBB_BT=AUTOCONF_TIMESTAMP | 16 | -D"BB_VER=KBUILD_STR($(BB_VER))" -DBB_BT=AUTOCONF_TIMESTAMP |
| 17 | 17 | ||
| 18 | CFLAGS += \ | 18 | CFLAGS += \ |
| 19 | -Wall -Wstrict-prototypes -Wshadow -Werror -Wundef \ | 19 | -Wall -Wshadow -Wno-error -Wundef \ |
| 20 | -Wold-style-definition \ | ||
| 21 | -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \ | ||
| 20 | -funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \ | 22 | -funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \ |
| 21 | -Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \ | 23 | -Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \ |
| 22 | -fomit-frame-pointer -ffunction-sections -fdata-sections | 24 | -fomit-frame-pointer -ffunction-sections -fdata-sections |
| 25 | # FIXME: These warnings are at least partially to be concerned about and should | ||
| 26 | # be fixed.. | ||
| 27 | #CFLAGS+=-Wconversion | ||
| 28 | |||
| 23 | 29 | ||
| 24 | ifeq ($(CONFIG_DEBUG),y) | 30 | ifeq ($(CONFIG_DEBUG),y) |
| 25 | CFLAGS += -g | 31 | CFLAGS += -g |
