This is an automated email from the git hooks/post-receive script. glondu pushed a commit to branch master in repository ocaml-ctypes.
commit b81da244684a1bb790ab60b204b1fcb6d6317a7b Author: Stephane Glondu <st...@glondu.net> Date: Wed Jun 15 10:55:18 2016 +0200 Use the same C compiler as OCaml to build test stubs --- ...e-C-compiler-as-OCaml-to-build-test-stubs.patch | 23 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 24 insertions(+) diff --git a/debian/patches/0001-Use-the-same-C-compiler-as-OCaml-to-build-test-stubs.patch b/debian/patches/0001-Use-the-same-C-compiler-as-OCaml-to-build-test-stubs.patch new file mode 100644 index 0000000..1bfafca --- /dev/null +++ b/debian/patches/0001-Use-the-same-C-compiler-as-OCaml-to-build-test-stubs.patch @@ -0,0 +1,23 @@ +From: Stephane Glondu <st...@glondu.net> +Date: Wed, 15 Jun 2016 10:52:03 +0200 +Subject: Use the same C compiler as OCaml to build test stubs + +Origin: https://github.com/ocamllabs/ocaml-ctypes/pull/403 +Bug: https://github.com/ocamllabs/ocaml-ctypes/issues/402 +--- + Makefile.tests | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Makefile.tests b/Makefile.tests +index 637a28e..41e474b 100644 +--- a/Makefile.tests ++++ b/Makefile.tests +@@ -4,6 +4,8 @@ VPATH += tests + + CFLAGS += -I $(CURDIR)/src/ctypes -I $(CURDIR)/tests + ++CC=$(shell ocamlc -config | sed -n '/native_c_compiler/{ s/[^:]*://; p;}') ++ + # tests-common subproject + tests-common.dir = tests/tests-common + tests-common.subproject_deps = ctypes cstubs \ diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..98d0e0a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Use-the-same-C-compiler-as-OCaml-to-build-test-stubs.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-ctypes.git _______________________________________________ Pkg-ocaml-maint-commits mailing list Pkg-ocaml-maint-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits