From 6c30fb22cc5b065c66fd37ae48da94a11f97193b Mon Sep 17 00:00:00 2001 From: NRK Date: Thu, 28 Apr 2022 10:07:31 +0600 Subject: [PATCH] config.mk: use c99 as default CC See https://github.com/nsxiv/nsxiv/issues/262#issuecomment-1111216349 for related discussion. --- config.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.mk b/config.mk index a5ef840..0dca0b7 100644 --- a/config.mk +++ b/config.mk @@ -18,8 +18,10 @@ HAVE_LIBGIF = $(OPT_DEP_DEFAULT) HAVE_LIBEXIF = $(OPT_DEP_DEFAULT) HAVE_LIBWEBP = $(OPT_DEP_DEFAULT) +# Compiler and linker +CC = c99 # CFLAGS, any optimization flags goes here -CFLAGS = -std=c99 -Wall -pedantic +CFLAGS = -Wall -pedantic # icons that will be installed via `make icon` ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png