2017-08-05 15:19:56 +00:00
|
|
|
From 313692e7425fd91917d4e35ad4ade459cb2c1138 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
|
2017-08-05 15:19:56 +00:00
|
|
|
Subject: [PATCH 06/12] configure: Allow user defined C compiler flags.
|
2012-05-29 21:44:10 +00:00
|
|
|
|
|
|
|
---
|
2012-10-16 18:19:17 +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
|
2017-08-05 15:19:56 +00:00
|
|
|
index e79659954..786f4cdbe 100755
|
2012-05-29 21:44:10 +00:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2017-08-05 15:19:56 +00:00
|
|
|
@@ -2002,6 +2002,10 @@ if $with_fpic; then
|
2016-11-03 18:32:19 +00:00
|
|
|
echo "#define CAML_WITH_FPIC" >> m.h
|
|
|
|
fi
|
2012-05-29 21:44:10 +00:00
|
|
|
|
|
|
|
+# Allow user defined C Compiler flags
|
|
|
|
+bytecccompopts="$bytecccompopts $CFLAGS"
|
|
|
|
+nativecccompopts="$nativecccompopts $CFLAGS"
|
|
|
|
+
|
|
|
|
# Finish generated files
|
|
|
|
|
|
|
|
cclibs="$cclibs $mathlib"
|
|
|
|
--
|
2017-06-26 09:53:06 +00:00
|
|
|
2.13.1
|
2012-05-29 21:44:10 +00:00
|
|
|
|