34fde6
From 613c9273f4cd73eb6e6750d8be29d7fa7f5a68c9 Mon Sep 17 00:00:00 2001
a07112
From: "Richard W.M. Jones" <rjones@redhat.com>
a07112
Date: Tue, 29 May 2012 20:44:18 +0100
496d4e
Subject: [PATCH 05/20] configure: Allow user defined C compiler flags.
a07112
a07112
---
ed0c3a
 configure | 4 ++++
963a64
 1 file changed, 4 insertions(+)
a07112
a07112
diff --git a/configure b/configure
c5cb96
index 4ea1498..d006010 100755
a07112
--- a/configure
a07112
+++ b/configure
c5cb96
@@ -1701,6 +1701,10 @@ case "$buggycc" in
a07112
     nativecccompopts="$nativecccompopts -fomit-frame-pointer";;
a07112
 esac
a07112
 
a07112
+# Allow user defined C Compiler flags
a07112
+bytecccompopts="$bytecccompopts $CFLAGS"
a07112
+nativecccompopts="$nativecccompopts $CFLAGS"
a07112
+
a07112
 # Finish generated files
a07112
 
a07112
 cclibs="$cclibs $mathlib"
a07112
-- 
496d4e
2.7.4
a07112