diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-10 16:38:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-10 16:38:16 +0200 |
commit | 201b94b005c08143856937d72b76b7ef57553ab0 (patch) | |
tree | 3c8714999b0f3d10a611b907412868723a1cde52 | |
parent | Empty signed commit (diff) | |
download | libgamma-201b94b005c08143856937d72b76b7ef57553ab0.tar.gz libgamma-201b94b005c08143856937d72b76b7ef57553ab0.tar.bz2 libgamma-201b94b005c08143856937d72b76b7ef57553ab0.tar.xz |
Use cc -std=c11 as default value of CC as CC is otherwise c99 by default and incompatible with -std=c11
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | config.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man +CC = cc -std=c11 + CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -CFLAGS = -std=c11 -O2 +CFLAGS = -O2 LDFLAGS = -s |