summaryrefslogtreecommitdiff
path: root/development/ocaml/configure.patch
blob: a57b19fb566ab45529dc89dcfbb53fb3a9cd6ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure_old	2014-05-23 22:45:22.000000000 +0200
+++ configure	2014-05-23 22:45:31.000000000 +0200
@@ -1612,6 +1612,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"