diff --git a/src/build/Common.gmake b/src/build/Common.gmake
index 16c426c017c002d7d86ab4e9b014b256540acea2..b79dca41f2bf7adfa8a94bb3dc1660a736a25e37 100644
--- a/src/build/Common.gmake
+++ b/src/build/Common.gmake
@@ -384,6 +384,7 @@ endif
 ifdef DEBUG
  CFLAGS	+=	-ggdb
  CFLAGS	+=	-D_DEBUG
+ CFLAGS +=	-Wall
 else # RELEASE
  # -finline functions breaks the baja build badly.
  # This also means that -O3 won't work either.