summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-22 16:32:04 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-22 16:32:04 +0200
commit04b2082e97786f83774788eb687bc38cd145a1a9 (patch)
treea673e5b8e3b9d631b59a4b59b72e582594aedf4a /Makefile.common
parent3ed17b079250962762f4c4baa3639ab884205471 (diff)
downloadserenity-04b2082e97786f83774788eb687bc38cd145a1a9.zip
Build: Enable the -Werror flag.
Okay, I've now fixed all the warnings and it was pretty lame. Let's keep the build warning-free from now on.
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 60911ec75e..8dcd38f829 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -1,6 +1,6 @@
ARCH_FLAGS =
STANDARD_FLAGS = -std=c++17 -Wno-sized-deallocation -fno-sized-deallocation
-WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
+WARNING_FLAGS = -Werror -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
FLAVOR_FLAGS = -fno-exceptions -fno-rtti
OPTIMIZATION_FLAGS = -Os