From 34f635e2f8474ba89903c5e9b2d822b53c7204bb Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Fri, 25 Jul 2008 19:53:51 -0300
Subject: [PATCH 09/31] Default to build using C99 and -pedantic

We use long long, so it makes sense to use the C99 flag. And we always
want the compiler to be strict about it, so use -pedantic by default.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 Makefile |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index e1b4de1..93d47c8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 VERSION="0.23"
 
 CC = gcc
-CFLAGS += -Wall -O3 -fPIC \
+CFLAGS += -std=c99 -pedantic -Wall -O3 -fPIC \
 	-D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 \
 	-D_LFS_LARGEFILE=1 -D_LFS64_LARGEFILE=1 \
 	-D_FILE_OFFSET_BITS=64 `getconf LFS_CFLAGS 2>/dev/null` \
@@ -12,9 +12,6 @@ ifdef DEBUG
 CFLAGS += -g -pg -fprofile-arcs -ftest-coverage
 endif
 
-ifdef STRICT
-CFLAGS += -ansi -pedantic
-endif
 
 # prefix for installing the binaries
 PREFIX=/usr/local
-- 
1.6.2.rc0.226.gf08f

