config.mk: use c99 as default CC

See https://github.com/nsxiv/nsxiv/issues/262#issuecomment-1111216349
for related discussion.
This commit is contained in:
NRK 2022-04-28 10:07:31 +06:00 committed by N-R-K
parent 0d202f0fe1
commit 6c30fb22cc

View File

@ -18,8 +18,10 @@ HAVE_LIBGIF = $(OPT_DEP_DEFAULT)
HAVE_LIBEXIF = $(OPT_DEP_DEFAULT) HAVE_LIBEXIF = $(OPT_DEP_DEFAULT)
HAVE_LIBWEBP = $(OPT_DEP_DEFAULT) HAVE_LIBWEBP = $(OPT_DEP_DEFAULT)
# Compiler and linker
CC = c99
# CFLAGS, any optimization flags goes here # CFLAGS, any optimization flags goes here
CFLAGS = -std=c99 -Wall -pedantic CFLAGS = -Wall -pedantic
# icons that will be installed via `make icon` # icons that will be installed via `make icon`
ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png