aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 13:33:51 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 13:33:51 +0100
commit7c85cc9891089ba2601d7be8510dc063a10c0ff5 (patch)
tree35e3880089558d91832a07e13fd75987a38422b8 /config.mk
parentUpdate e-mail (diff)
downloadbus-f6b4254a8c28178781079d72d36e30e35971e83a.tar.gz
bus-f6b4254a8c28178781079d72d36e30e35971e83a.tar.bz2
bus-f6b4254a8c28178781079d72d36e30e35971e83a.tar.xz
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 494927c..168b5ae 100644
--- a/config.mk
+++ b/config.mk
@@ -1,8 +1,10 @@
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
+CC = c99
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
-CFLAGS = -std=c99 -Wall -Wextra -pedantic -O2 $(CPPFLAGS)
+CFLAGS = -Wall -Wextra -pedantic -O2 $(CPPFLAGS)
LDFLAGS = -s -lrt
# Add -DSEMUN_ALREADY_DEFINED to CPPFLAGS if `union semun` is already defined by libc