summaryrefslogtreecommitdiffstats
path: root/development/ocaml/configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/ocaml/configure.patch')
-rw-r--r--development/ocaml/configure.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/ocaml/configure.patch b/development/ocaml/configure.patch
new file mode 100644
index 0000000000..2f91abe106
--- /dev/null
+++ b/development/ocaml/configure.patch
@@ -0,0 +1,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"