diff options
author | Benjamin Barenblat <bbarenblat@gmail.com> | 2020-10-11 13:18:45 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbarenblat@gmail.com> | 2020-10-11 13:18:45 -0400 |
commit | 5699b4e5dc09a60dcc90a198a388eb7f9cd34a0d (patch) | |
tree | 64a9e1b3f7e303f2a16f92a5e804f524f2fe3862 | |
parent | e662f34ef65a3ae94b4216097acc9f0a25611fac (diff) |
Stop using -Weverything
-Weverything is a compiler testing tool, not a package of warnings. Use
-Wall -Wextra instead.
-rw-r--r-- | build.ninja | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build.ninja b/build.ninja index 0b5be18..d61cc39 100644 --- a/build.ninja +++ b/build.ninja @@ -17,8 +17,7 @@ ninja_required_version = 1.3 cxx = clang++ cflags = -O2 -DNDEBUG -D_FORTIFY_SOURCE -D_GLIBCXX_DEBUG $ -D_GLIBCXX_DEBUG_PEDANTIC -std=c++14 -ftrapv -fno-strict-aliasing $ - -fstack-protector-strong --param=ssp-buffer-size=4 -Weverything $ - -Wno-c++98-compat -Wno-padded -Wno-weak-vtables -Wno-unused-macros -fPIE $ + -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Wextra -fPIE $ -fno-rtti -fuse-cxa-atexit -pipe -ffunction-sections -fdata-sections $ -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse ldflags = -Wl,--gc-sections -Wl,-Bsymbolic-functions -pie -Wl,-z,now -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--no-copy-dt-needed-entries -Wl,--as-needed -pthread |