From: Jani Nikula <jani@nikula.org>
To: notmuch@notmuchmail.org
Subject: [RFC PATCH 1/9] build: use -std=c99 -pedantic for C source
Date: Sun, 8 Jan 2012 01:26:15 +0200 [thread overview]
Message-ID: <f5926dadf5feae488f9a951b684fa42ca09bab03.1325977940.git.jani@nikula.org> (raw)
In-Reply-To: <cover.1325977940.git.jani@nikula.org>
In-Reply-To: <cover.1325977940.git.jani@nikula.org>
Signed-off-by: Jani Nikula <jani@nikula.org>
---
configure | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index e90b76f..f84262d 100755
--- a/configure
+++ b/configure
@@ -25,8 +25,8 @@ fi
# environment variables)
CC=${CC:-gcc}
CXX=${CXX:-g++}
-CFLAGS=${CFLAGS:--O2}
-CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}
+CFLAGS=${CFLAGS:--O2 -std=c99 -pedantic}
+CXXFLAGS=${CXXFLAGS:--O2}
LDFLAGS=${LDFLAGS:-}
XAPIAN_CONFIG=${XAPIAN_CONFIG:-xapian-config}
--
1.7.5.4
next prev parent reply other threads:[~2012-01-07 23:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-07 23:26 [RFC PATCH 0/9] -std=c99 / -std=c++0x -pedantic Jani Nikula
2012-01-07 23:26 ` Jani Nikula [this message]
2012-01-07 23:26 ` [RFC PATCH 2/9] xutil: #define _POSIX_C_SOURCE to get strdup() Jani Nikula
2012-01-07 23:26 ` [RFC PATCH 3/9] lib: fix messages.c build warn Jani Nikula
2012-01-08 0:26 ` Austin Clements
2012-01-10 10:38 ` David Bremner
2012-01-07 23:26 ` [RFC PATCH 4/9] lib: HACK: avoid warnings from talloc_steal() Jani Nikula
2012-01-07 23:26 ` [RFC PATCH 5/9] cli: fix warning about variadic macros Jani Nikula
2012-01-07 23:26 ` [RFC PATCH 6/9] cli: fix another " Jani Nikula
2012-01-07 23:26 ` [RFC PATCH 7/9] util: fix " Jani Nikula
2012-01-07 23:26 ` [RFC PATCH 8/9] lib: use -std=c++0x -pedantic Jani Nikula
2012-01-07 23:26 ` [RFC PATCH 9/9] test: smtp-dummy: fixes for -std=c99 -pedantic Jani Nikula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f5926dadf5feae488f9a951b684fa42ca09bab03.1325977940.git.jani@nikula.org \
--to=jani@nikula.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).