aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2024-10-16 21:28:52 +0200
committerMattias Andrée <m@maandree.se>2024-10-16 21:28:52 +0200
commit4264c45de69dbc5dbbadc7454d07e2757526af6e (patch)
treeabcbb08a982e3673d3e5540bcfacdb9bb06a9b70
parentFix makefile (diff)
downloadradharc-4264c45de69dbc5dbbadc7454d07e2757526af6e.tar.gz
radharc-4264c45de69dbc5dbbadc7454d07e2757526af6e.tar.bz2
radharc-4264c45de69dbc5dbbadc7454d07e2757526af6e.tar.xz
use CC=c99
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 7111c86..b80f06c 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
+CC = c99
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
-CFLAGS = -std=c99 -Wall -O2
+CFLAGS = -Wall -O2
LDFLAGS = -lcoopgamma -lred -lm -s