From 5c299758b9d26c4d233f49b92e18c558558dea5c Mon Sep 17 00:00:00 2001 From: Nathaniel McCallum Date: Mon, 16 Dec 2013 16:10:05 -0500 Subject: Enable building in C99 mode C99 is supported on all compilers we target and provides some useful features, including: * Standard struct initializers * Compound literals * For-loop declarations * Standard bool type * Variable arrays (use with caution) * Too many others to mention... Reviewed-By: Alexander Bokovoy --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0a300b4ba..af68e42b7 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ endif PYTHON ?= $(shell rpm -E %__python || echo /usr/bin/python2) -CFLAGS := -g -O2 -Werror -Wall -Wextra -Wformat-security -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers $(CFLAGS) +CFLAGS := -g -O2 -Wall -Wextra -Wformat-security -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers $(CFLAGS) export CFLAGS # Uncomment to increase Java stack size for Web UI build in case it fails -- cgit