Skip to content

Commit

Permalink
Use a Dune profile for static builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbaturin committed Dec 1, 2024
1 parent a1d65b1 commit 89a19b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dune
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@

(env
(static
(flags
(:standard -cclib -static))))
1 change: 0 additions & 1 deletion src/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(executable
(name bnfgen_cli)
(public_name bnfgen)
;(flags (-ccopt -static))
(libraries bnfgen))

1 change: 1 addition & 0 deletions src/lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
(name bnfgen)
(public_name bnfgen)
(synopsis "A library for parsing BNF-like grammars and generating strings")
(no_dynlink)
(libraries menhirLib)
(flags :standard -color always -safe-string -warn-error -a+8 -w -50))

0 comments on commit 89a19b7

Please sign in to comment.