misc: add better support for GCC's static analyzer

master
Solomon Peachy 1 year ago
parent d84cd5f482
commit aa98d9f559
  1. 1
      Makefile

@ -94,6 +94,7 @@ endif
# Debugging
#CFLAGS += -fsanitize=address -fPIC
#LDFLAGS += -lasan
#CFLAGS += -fanalyzer -flto
# Flags
CFLAGS += -Wall -Wextra -Wformat-security -funit-at-a-time -g -Og -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -std=c99 -D_POSIX_C_SOURCE=200809L # -Wconversion

Loading…
Cancel
Save