summaryrefslogtreecommitdiff
path: root/lang/ocaml/files/patch-configure
blob: 2c3258e7d4c8001906baeeae1f0310a3e147ddb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Remove attempts add the -O compiler option -- this ends up lowering optimization
level for most people (from -O2 to -O).

	-mi

--- configure	2015-05-12 14:46:37 UTC
+++ configure	2015-09-22 22:15:58 UTC
@@ -447,5 +447,5 @@
 # Configure compiler to use in further tests
 
-cc="$bytecc -O $bytecclinkopts"
+cc="$bytecc $bytecclinkopts"
 export cc cclibs verbose
 
@@ -1687,10 +1687,4 @@
 fi
 
-# Add Unix-style optimization flag
-bytecccompopts="-O $bytecccompopts"
-dllcccompopts="-O $dllcccompopts"
-nativecccompopts="-O $nativecccompopts"
-sharedcccompopts="-O $sharedcccompopts"
-
 # Final twiddling of compiler options to work around known bugs