mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 21:41:59 +01:00
Added -Wimplicit-fallthrough=2 to gcc options
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
288d5030d4
commit
4db63006eb
@ -528,7 +528,7 @@ if [[ "${gcc_version:0:1}" -gt 6 ]]; then
|
||||
extra_cflags="-Wimplicit-fallthrough=2"
|
||||
fi
|
||||
|
||||
CFLAGS="$static -std=c99 -O2 -fPIC -Wall -Wextra $extra_cflags -Wuninitialized -Wno-format-truncation -g"
|
||||
CFLAGS="$static -std=c99 -O2 -fPIC -Wall -Wextra $extra_cflags -Wuninitialized -Wimplicit-fallthrough=2 -Wno-format-truncation -g"
|
||||
LIBS="$antispam_libs $sunos_libs "
|
||||
OBJS="dirs.o misc.o counters.o cfg.o sig.o decoder.o hash.o parser.o parser_utils.o rules.o smtp.o session.o bdat.o message.o attachment.o digest.o store.o archive.o tai.o import.o import_pilerexport.o import_maildir.o import_mailbox.o import_pop3.o import_imap.o imap.o pop3.o extract.o mydomains.o tokenizer.o screen.o $objs"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user