From 7c91248629ce2d9fd22ef58b88ad8ba760181277 Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <calcurse@cryptocrack.de>
Date: Sun, 19 Feb 2012 03:19:28 +0100
Subject: {src,test}/Makefile.am: Enable pedantic warnings

Now that we're fully POSIX compliant and fixed up some minor issues with
ISO C99, use "-std=c99 -pedantic -D_POSIX_C_SOURCE=200809L" as default
build flags for calcurse and the test suite.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
---
 src/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src')

diff --git a/src/Makefile.am b/src/Makefile.am
index f6be9e8..7eab77f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,6 +2,8 @@ AUTOMAKE_OPTIONS = foreign
 
 bin_PROGRAMS = calcurse
 
+AM_CFLAGS = -std=c99 -pedantic -D_POSIX_C_SOURCE=200809L
+
 calcurse_SOURCES = \
 	calcurse.c \
 	calcurse.h \
-- 
cgit v1.2.3-70-g09d2