nsxiv6c30fb2
config.mk: use c99 as default CC
See https://github.com/nsxiv/nsxiv/issues/262#issuecomment-1111216349 for related discussion.
+3 −1
1 file changed
- M config.mk +3 −1
| @@ -18,8 +18,10 @@ HAVE_LIBGIF = $(OPT_DEP_DEFAULT) | |||
| 18 | 18 | HAVE_LIBEXIF = $(OPT_DEP_DEFAULT) | |
| 19 | 19 | HAVE_LIBWEBP = $(OPT_DEP_DEFAULT) | |
| 20 | 20 | ||
| 21 | + | # Compiler and linker | |
| 22 | + | CC = c99 | |
| 21 | 23 | # CFLAGS, any optimization flags goes here | |
| 22 | − | CFLAGS = -std=c99 -Wall -pedantic | |
| 24 | + | CFLAGS = -Wall -pedantic | |
| 23 | 25 | ||
| 24 | 26 | # icons that will be installed via `make icon` | |
| 25 | 27 | ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png | |