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

1280ab
From 5c7b50033ad64f20c3cce71adb9b5c93dfa62678 Mon Sep 17 00:00:00 2001
416b7d
From: "Richard W.M. Jones" <rjones@redhat.com>
416b7d
Date: Tue, 29 May 2012 20:44:18 +0100
f9602d
Subject: [PATCH 05/18] configure: Allow user defined C compiler flags.
416b7d
416b7d
---
416b7d
 configure | 4 ++++
416b7d
 1 file changed, 4 insertions(+)
416b7d
416b7d
diff --git a/configure b/configure
1280ab
index cbaa053..e8f8cfd 100755
416b7d
--- a/configure
416b7d
+++ b/configure
1280ab
@@ -1617,6 +1617,10 @@ case "$buggycc" in
416b7d
     nativecccompopts="$nativecccompopts -fomit-frame-pointer";;
416b7d
 esac
416b7d
 
416b7d
+# Allow user defined C Compiler flags
416b7d
+bytecccompopts="$bytecccompopts $CFLAGS"
416b7d
+nativecccompopts="$nativecccompopts $CFLAGS"
416b7d
+
416b7d
 # Finish generated files
416b7d
 
416b7d
 cclibs="$cclibs $mathlib"
416b7d
-- 
f9602d
2.3.1
416b7d