From 33f0bc368f005204bb3f7f99bc678ecfab4d94c0 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 29 May 2012 20:44:18 +0100 Subject: [PATCH 3/9] configure: Allow user defined C compiler flags. --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index b9ae81a3c..01a7baedf 100755 --- a/configure +++ b/configure @@ -1902,6 +1902,10 @@ if $with_fpic; then echo "#define CAML_WITH_FPIC" >> m.h fi +# Allow user defined C Compiler flags +bytecccompopts="$bytecccompopts $CFLAGS" +nativecccompopts="$nativecccompopts $CFLAGS" + # Finish generated files cclibs="$cclibs $mathlib" -- 2.12.0