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

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