equal
deleted
inserted
replaced
|
1 |
|
2 Patch allows UL_LDFLAGS set in Makefile to be passed along to ocaml. |
|
3 |
|
4 --- ocaml-3.11.2/configure-orig 2013-06-27 21:29:22.692330246 -0500 |
|
5 +++ ocaml-3.11.2/configure 2013-06-27 21:29:38.111921104 -0500 |
|
6 @@ -1534,6 +1534,10 @@ esac |
|
7 bytecccompopts="$bytecccompopts $CFLAGS" |
|
8 nativecccompopts="$nativecccompopts $CFLAGS" |
|
9 |
|
10 +# Allow user defined C Compiler flags |
|
11 +bytecccompopts="$bytecccompopts $CFLAGS" |
|
12 +nativecccompopts="$nativecccompopts $CFLAGS" |
|
13 + |
|
14 # Finish generated files |
|
15 |
|
16 cclibs="$cclibs $mathlib" |
|
17 @@ -1541,7 +1545,7 @@ cclibs="$cclibs $mathlib" |
|
18 echo "BYTECC=$bytecc" >> Makefile |
|
19 echo "BYTECCCOMPOPTS=$bytecccompopts" >> Makefile |
|
20 echo "BYTECCLINKOPTS=$bytecclinkopts" >> Makefile |
|
21 -echo "BYTECCLIBS=$cclibs $dllib $curseslibs $pthread_link" >> Makefile |
|
22 +echo "BYTECCLIBS=$cclibs $dllib $curseslibs $pthread_link $UL_LDFLAGS" >> Makefile |
|
23 echo "BYTECCRPATH=$byteccrpath" >> Makefile |
|
24 echo "EXE=$exe" >> Makefile |
|
25 echo "SUPPORTS_SHARED_LIBRARIES=$shared_libraries_supported" >> Makefile |