diff options
author | Nathaniel McCallum <npmccallum@redhat.com> | 2013-12-16 16:10:05 -0500 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-02-14 16:03:24 +0100 |
commit | 5c299758b9d26c4d233f49b92e18c558558dea5c (patch) | |
tree | 71bb9d1a26d69f2612e43b915f1192c39ee0a092 /Makefile | |
parent | fd55da9a27f76611b01c38c2741c13652d6a3e60 (diff) | |
download | freeipa-5c299758b9d26c4d233f49b92e18c558558dea5c.tar.gz freeipa-5c299758b9d26c4d233f49b92e18c558558dea5c.tar.xz freeipa-5c299758b9d26c4d233f49b92e18c558558dea5c.zip |
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 <abokovoy@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |