2012-06-07 15:57:55 +00:00
|
|
|
From 05d5577eecfd8d17f5d3f9a9f1063b8c6df295d4 Mon Sep 17 00:00:00 2001
|
2012-05-29 21:44:10 +00:00
|
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
|
Date: Tue, 29 May 2012 20:44:18 +0100
|
2012-06-07 15:57:55 +00:00
|
|
|
Subject: [PATCH 5/7] configure: Allow user defined C compiler flags.
|
2012-05-29 21:44:10 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
configure | 4 ++++
|
2012-06-05 22:10:05 +00:00
|
|
|
1 file changed, 4 insertions(+)
|
2012-05-29 21:44:10 +00:00
|
|
|
|
|
|
|
diff --git a/configure b/configure
|
2012-06-07 13:59:51 +00:00
|
|
|
index 72f4240..eafd6d9 100755
|
2012-05-29 21:44:10 +00:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2012-06-07 13:59:51 +00:00
|
|
|
@@ -1572,6 +1572,10 @@ case "$buggycc" in
|
2012-05-29 21:44:10 +00:00
|
|
|
nativecccompopts="$nativecccompopts -fomit-frame-pointer";;
|
|
|
|
esac
|
|
|
|
|
|
|
|
+# Allow user defined C Compiler flags
|
|
|
|
+bytecccompopts="$bytecccompopts $CFLAGS"
|
|
|
|
+nativecccompopts="$nativecccompopts $CFLAGS"
|
|
|
|
+
|
|
|
|
# Finish generated files
|
|
|
|
|
|
|
|
cclibs="$cclibs $mathlib"
|
|
|
|
--
|
2012-06-07 15:57:55 +00:00
|
|
|
1.7.10.1
|
2012-05-29 21:44:10 +00:00
|
|
|
|