Skip to content
Permalink
Browse files

Use variants.

  • Loading branch information...
TheLortex committed Mar 10, 2019
1 parent b156c0c commit 576d25d79e3117bba64355ae73597651cfd27631
Showing with 6 additions and 3 deletions.
  1. +1 −1 dune-project
  2. +1 −1 lib/dune
  3. +2 −1 lib_impl/freestanding/dune
  4. +1 −0 lib_impl/unix/dune
  5. +1 −0 lib_impl/xen/dune
@@ -1,2 +1,2 @@
(lang dune 1.7)
(lang dune 1.9)
(name mirage-entropy)
@@ -4,5 +4,5 @@
(libraries lwt cstruct)
(virtual_modules entropy)
(wrapped false)
(default_implementation mirage-entropy.unix)
)
@@ -2,7 +2,8 @@
(name mirage_entropy_freestanding)
(public_name mirage-entropy.freestanding)
(libraries lwt cstruct mirage-solo5 ocaml-freestanding)
(implements mirage-entropy)
(implements mirage-entropy)
(variant freestanding)
(c_names entropy_cpu_stubs)
(optional)
(c_flags (:include cflags.sexp) (:include custom_flags) -O3 -std=c99 -Wall -Wpedantic
@@ -3,6 +3,7 @@
(public_name mirage-entropy.unix)
(libraries lwt cstruct mirage-unix)
(implements mirage-entropy)
(variant unix)
(optional)
(c_names entropy_cpu_stubs)
(c_flags (:include cflags.sexp) -O3 -std=c99 -Wall -Wpedantic
@@ -4,6 +4,7 @@
(libraries lwt cstruct mirage-xen)
(implements mirage-entropy)
(c_names entropy_cpu_stubs)
(variant xen)
(optional)
(c_flags (:include cflags.sexp) (:include custom_flags) -O3 -std=c99 -Wall -Wpedantic
)

0 comments on commit 576d25d

Please sign in to comment.
You can’t perform that action at this time.