aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-04-28 10:07:31 +0600
committerN-R-K <nrk@disroot.org>2022-05-30 12:07:01 +0000
commit6c30fb22cc5b065c66fd37ae48da94a11f97193b (patch)
treeac60d231937d294b97ec82ae31907b0c8c85bd8e
parent0d202f0fe182b87c00a6509af5cc6e7a59716cfd (diff)
config.mk: use c99 as default CC
See https://github.com/nsxiv/nsxiv/issues/262#issuecomment-1111216349 for related discussion.
-rw-r--r--config.mk4
1 files changed, 3 insertions, 1 deletions
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