summaryrefslogtreecommitdiffstats
path: root/development/ocaml/configure.patch
blob: 2f91abe106a0a39bb1b32a8911fc545965744b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure.orig	2011-07-04 23:15:01.000000000 +0200
+++ configure	2011-11-05 15:17:01.946744829 +0100
@@ -1600,6 +1600,10 @@
     nativecccompopts="$nativecccompopts -fomit-frame-pointer";;
 esac
 
+# Add additional flags from the environment
+bytecccompopts="$bytecccompopts $CFLAGS"
+nativecccompopts="$nativecccompopts $CFLAGS"
+
 # Finish generated files
 
 cclibs="$cclibs $mathlib"