Krolyxon
Commit 6c30fb2

Branches

Refs →

nsxiv6c30fb2

config.mk: use c99 as default CC

See https://github.com/nsxiv/nsxiv/issues/262#issuecomment-1111216349
for related discussion.
Author
NRK
Date
2022-04-28 10:07 +0600
Committer
N-R-K · 2022-05-30 12:07 +0000
Parent
0d202f0
Commit
6c30fb22cc5b065c66fd37ae48da94a11f97193b

+3 −1

1 file changed

  1. M config.mk +3 −1
M config.mk View
@@ -18,8 +18,10 @@ HAVE_LIBGIF = $(OPT_DEP_DEFAULT)
1818 HAVE_LIBEXIF = $(OPT_DEP_DEFAULT)
1919 HAVE_LIBWEBP = $(OPT_DEP_DEFAULT)
2020
21+# Compiler and linker
22+CC = c99
2123 # CFLAGS, any optimization flags goes here
22−CFLAGS = -std=c99 -Wall -pedantic
24+CFLAGS = -Wall -pedantic
2325
2426 # icons that will be installed via `make icon`
2527 ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png