summaryrefslogtreecommitdiffstats
path: root/src/tests/cwrap/Makefile.am
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2014-10-14 18:02:47 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-10-20 21:43:52 +0200
commit940c94bc9a29165987cb9d3f71c4a4ec76e7a1fc (patch)
tree77a69e100bc3c935a7e0787e8891e9119fa277b6 /src/tests/cwrap/Makefile.am
parente718e60607149079e5c8ddc32bdd5c90b1c7a364 (diff)
downloadsssd-940c94bc9a29165987cb9d3f71c4a4ec76e7a1fc.tar.gz
sssd-940c94bc9a29165987cb9d3f71c4a4ec76e7a1fc.tar.xz
sssd-940c94bc9a29165987cb9d3f71c4a4ec76e7a1fc.zip
TESTS: Add -std=gnu99 to cwrap tests CFLAGS
../../../../src/tests/cwrap/../../../src/util/domain_info_utils.c: In function ‘subdomain_enumerates’: ../../../../src/tests/cwrap/../../../src/util/domain_info_utils.c:77:9: error: ‘for’ loop initial declarations are only allowed in C99 mode for (int i=0; parent->sd_enumerate[i]; i++) { ^ ../../../../src/tests/cwrap/../../../src/util/domain_info_utils.c:77:9: note: use option -std=c99 or -std=gnu99 to compile your code make[3]: *** [../../../src/util/server_tests-domain_info_utils.o] Error 1 Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/tests/cwrap/Makefile.am')
-rw-r--r--src/tests/cwrap/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/cwrap/Makefile.am b/src/tests/cwrap/Makefile.am
index 34aec92c1..96b9a5243 100644
--- a/src/tests/cwrap/Makefile.am
+++ b/src/tests/cwrap/Makefile.am
@@ -1,4 +1,5 @@
AM_CPPFLAGS = \
+ -std=gnu99 \
-Wall \
-I$(top_srcdir)/src \
-I. \