summaryrefslogtreecommitdiff
path: root/Userland/Makefile
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-15 12:39:16 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-15 12:39:16 +0100
commitdf6aaaeeef5777dbf3bbdff6b4651ff891fa5a35 (patch)
tree59e34ada56a95a87adf86f8946a6bbe9fce3f007 /Userland/Makefile
parent56f0a30f9b014df71afb8cd90cd234d9c3c6c87e (diff)
downloadserenity-df6aaaeeef5777dbf3bbdff6b4651ff891fa5a35.zip
Enable -Wimplicit-fallthrough.
Diffstat (limited to 'Userland/Makefile')
-rw-r--r--Userland/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Makefile b/Userland/Makefile
index 6f64eeeeab..de3a65745a 100644
--- a/Userland/Makefile
+++ b/Userland/Makefile
@@ -64,7 +64,7 @@ APPS = \
ARCH_FLAGS =
STANDARD_FLAGS = -std=c++17 -nostdinc++ -nostdlib -nostdinc
USERLAND_FLAGS = -ffreestanding -fno-stack-protector -fno-ident
-WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings
+WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
FLAVOR_FLAGS = -march=i386 -m32 -fno-exceptions -fno-rtti -fmerge-all-constants -fno-unroll-loops -fno-pie -fno-pic
OPTIMIZATION_FLAGS = -Oz -fno-asynchronous-unwind-tables
INCLUDE_FLAGS = -I.. -I. -I../LibC