aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml/050_all_objinfoldflags.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-28 13:45:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-28 15:00:41 +0000
commit0f6a83529742564e73ffc8cac13d5b159805a2e0 (patch)
tree81957963a03b91eb74556f5dce9b8ea516a34240 /testing/ocaml/050_all_objinfoldflags.patch
parent93a756bf967e9d2d014e6266556849bd84cc1cba (diff)
downloadaports-0f6a83529742564e73ffc8cac13d5b159805a2e0.tar.bz2
aports-0f6a83529742564e73ffc8cac13d5b159805a2e0.tar.xz
testing/ocaml: add patches from gentoo and fix build on x86
Diffstat (limited to 'testing/ocaml/050_all_objinfoldflags.patch')
-rw-r--r--testing/ocaml/050_all_objinfoldflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/ocaml/050_all_objinfoldflags.patch b/testing/ocaml/050_all_objinfoldflags.patch
new file mode 100644
index 0000000000..3c1ff9f46a
--- /dev/null
+++ b/testing/ocaml/050_all_objinfoldflags.patch
@@ -0,0 +1,13 @@
+Index: ocaml-3.12.0/tools/Makefile.shared
+===================================================================
+--- ocaml-3.12.0.orig/tools/Makefile.shared
++++ ocaml-3.12.0/tools/Makefile.shared
+@@ -229,7 +229,7 @@ beforedepend:: opnames.ml
+ # Display info on compiled files
+
+ objinfo_helper$(EXE): objinfo_helper.c ../config/s.h
+- $(BYTECC) -o objinfo_helper$(EXE) $(BYTECCCOMPOPTS) \
++ $(MKEXE) -o objinfo_helper$(EXE) $(BYTECCCOMPOPTS) \
+ objinfo_helper.c $(LIBBFD_LINK)
+
+ OBJINFO=../utils/misc.cmo ../utils/config.cmo ../bytecomp/bytesections.cmo \