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

8e013d
From 313692e7425fd91917d4e35ad4ade459cb2c1138 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
8e013d
Subject: [PATCH 06/12] 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
8e013d
index e79659954..786f4cdbe 100755
416b7d
--- a/configure
416b7d
+++ b/configure
8e013d
@@ -2002,6 +2002,10 @@ if $with_fpic; then
8e013d
   echo "#define CAML_WITH_FPIC" >> m.h
8e013d
 fi
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
-- 
8e013d
2.13.2
416b7d