Blame SOURCES/0003-configure-Allow-user-defined-C-compiler-flags.patch

770ba2
From 8ddd2fb4909bf6ed1a3506723126432da8fcf0c4 Mon Sep 17 00:00:00 2001
770ba2
From: "Richard W.M. Jones" <rjones@redhat.com>
770ba2
Date: Tue, 29 May 2012 20:44:18 +0100
770ba2
Subject: [PATCH 3/8] configure: Allow user defined C compiler flags.
770ba2
770ba2
---
770ba2
 configure | 4 ++++
770ba2
 1 file changed, 4 insertions(+)
770ba2
770ba2
diff --git a/configure b/configure
770ba2
index 1316b3c1e..53f45f85b 100755
770ba2
--- a/configure
770ba2
+++ b/configure
770ba2
@@ -2050,6 +2050,10 @@ if $flat_float_array; then
770ba2
   echo "#define FLAT_FLOAT_ARRAY" >> m.h
770ba2
 fi
770ba2
 
770ba2
+# Allow user defined C Compiler flags
770ba2
+bytecccompopts="$bytecccompopts $CFLAGS"
770ba2
+nativecccompopts="$nativecccompopts $CFLAGS"
770ba2
+
770ba2
 # Finish generated files
770ba2
 
770ba2
 cclibs="$cclibs $mathlib"
770ba2
-- 
770ba2
2.17.1
770ba2