From d455e3b9ba0db313b9c96da1e7e66b8477f51bb9 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 7 May 2015 14:17:02 +1000 Subject: [PATCH] Re-enable -Werror now all warnings are fixed, remove -fno-inline-functions also --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 09ae733..6563d89 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ EXTRA_INCDIR += include/lwip include/lwip/ipv4 include/lwip/ipv6 # libraries used in this project, mainly provided by the SDK LIBS = c gcc json lwip main net80211 phy pp ssl udhcp wpa hal -CFLAGS = -Os -Wall -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals +CFLAGS = -Os -Wall -Werror -Wl,-EL -nostdlib -mlongcalls -mtext-section-literals LDFLAGS = -nostdlib -Wl,--no-check-sections -Wl,-Llib -u call_user_start -Wl,-static -Wl,-Map=build/${TARGET}.map