aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-07-16 20:16:23 +0200
committerNRK <nrk@disroot.org>2023-07-16 20:16:23 +0200
commit112ba3a2fc934113c37e0ad274eaeea13d8c3359 (patch)
tree398228acd75b14ce88ba37b356c4effa4cf86ccf /config.mk
parentc1b36b8f0942a8ec34f97f28c8c77c84adf0c2c4 (diff)
downloadnsxiv-112ba3a2fc934113c37e0ad274eaeea13d8c3359.tar.zst
config.mk: do not explicitly set CC (#455)
1. `c99` doesn't exist on openbsd 2. `c99` behaves weirdly on macos (doesn't support -Wall) since make will already set CC (required by POSIX if the implementation supports C, see `man 1p make`) to something appropriate (or it might be set in the environment) go ahead and remove explicitly setting it on our end. Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/455 Reviewed-by: TAAPArthur <taaparthur@noreply.codeberg.org>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 7ffb08d..fb28086 100644
--- a/config.mk
+++ b/config.mk
@@ -21,8 +21,6 @@ HAVE_LIBEXIF = $(OPT_DEP_DEFAULT)
HAVE_LIBGIF = $(OPT_DEP_DEFAULT)
HAVE_LIBWEBP = $(OPT_DEP_DEFAULT)
-# Compiler and linker
-CC = c99
# CFLAGS, any additional compiler flags goes here
CFLAGS = -Wall -pedantic -O2 -DNDEBUG
# Uncomment for a debug build using gcc/clang