From 43f676a01d173d5155f0e799ba9eeece31d799ab Mon Sep 17 00:00:00 2001
From: Ron <ron@debian.org>
Date: Sun, 9 Jun 2013 04:09:21 +0930
Subject: [PATCH 2/9] Preserve user supplied CFLAGS

By actually expanding them as a shell variable ...
Also put them at the end, so the user has the final say for overrides.
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 359fff2..53b007e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,7 @@ AC_SUBST(OD_LT_CURRENT)
 AC_SUBST(OD_LT_REVISION)
 AC_SUBST(OD_LT_AGE)
 
-CFLAGS="$(CFLAGS) -std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long -Wno-overlength-strings"
+CFLAGS="-std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long -Wno-overlength-strings $CFLAGS"
 
 # Platform-specific tweaks
 case $host in
-- 
1.7.2.5

