diff options
author | Michael Zuo <muh.muhten@gmail.com> | 2015-08-30 13:17:53 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-09-05 13:40:27 +0200 |
commit | 10e307f4f5b524ba53b823c5310ae46a2054f3c5 (patch) | |
tree | 3b6bd1c7530d48973af3be1b85bf91bb4b5c6bf0 /testing/ocaml/020_all_configure.patch | |
parent | 56af9bf5cb57be5cdae8bc1440f06575c43e5885 (diff) | |
download | aports-10e307f4f5b524ba53b823c5310ae46a2054f3c5.tar.bz2 aports-10e307f4f5b524ba53b823c5310ae46a2054f3c5.tar.xz |
testing/ocaml: upgrade to 4.02.3
Diffstat (limited to 'testing/ocaml/020_all_configure.patch')
-rw-r--r-- | testing/ocaml/020_all_configure.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/ocaml/020_all_configure.patch b/testing/ocaml/020_all_configure.patch index 2ae0c49432..5c4dbf064e 100644 --- a/testing/ocaml/020_all_configure.patch +++ b/testing/ocaml/020_all_configure.patch @@ -2,20 +2,20 @@ The configure script doesn't inherit previous defined variables, overwriting previous declarations of bytecccompopts, bytecclinkopts, nativecccompopts and nativecclinkopts. Reported upstream as issue 0004267. -Index: ocaml-3.12.0/configure +Index: ocaml-4.02.2/configure =================================================================== ---- ocaml-3.12.0.orig/configure -+++ ocaml-3.12.0/configure -@@ -241,7 +241,7 @@ esac +--- ocaml-4.02.2.orig/configure ++++ ocaml-4.02.2/configure +@@ -314,7 +314,7 @@ esac # Configure the bytecode compiler bytecc="$cc" -mkexe="\$(BYTECC)" +mkexe="\$(BYTECC) \$(BYTECCLINKOPTS)" + mkexedebugflag="-g" bytecccompopts="" bytecclinkopts="" - dllccompopts="" -@@ -1582,7 +1582,15 @@ fi +@@ -1694,7 +1694,15 @@ sharedcccompopts="-O $sharedcccompopts" # Final twiddling of compiler options to work around known bugs @@ -31,7 +31,7 @@ Index: ocaml-3.12.0/configure case "$buggycc" in gcc.2.96) bytecccompopts="$bytecccompopts -fomit-frame-pointer" -@@ -1618,6 +1626,7 @@ echo "NATIVECC=$nativecc" >> Makefile +@@ -1730,6 +1738,7 @@ echo "NATIVECC=$nativecc" >> Makefile echo "NATIVECCCOMPOPTS=$nativecccompopts" >> Makefile echo "NATIVECCPROFOPTS=$nativeccprofopts" >> Makefile echo "NATIVECCLINKOPTS=$nativecclinkopts" >> Makefile @@ -39,7 +39,7 @@ Index: ocaml-3.12.0/configure echo "NATIVECCRPATH=$nativeccrpath" >> Makefile echo "NATIVECCLIBS=$cclibs $dllib" >> Makefile echo "ASM=$as" >> Makefile -@@ -1630,7 +1639,7 @@ echo "DEBUGGER=$debugger" >> Makefile +@@ -1741,7 +1750,7 @@ echo "OTHERLIBRARIES=$otherlibraries" >> echo "CC_PROFILE=$cc_profile" >> Makefile echo "SYSTHREAD_SUPPORT=$systhread_support" >> Makefile echo "PARTIALLD=$partialld" >> Makefile |