Skip to content

Commit

Permalink
refactor: use -I only in dev profile
Browse files Browse the repository at this point in the history
  • Loading branch information
himito committed Oct 1, 2024
1 parent a151206 commit 198b2ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bin/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
(name IMITATOR)
(modes byte exe)
(libraries lib)
(ocamlc_flags (-g) (-I %{env:OPAM_SWITCH_PREFIX=}/lib/gmp/) (-I %{env:OPAM_SWITCH_PREFIX=}/lib/ppl))
(link_flags
(:include link_flags.%{system})
(:standard
Expand Down Expand Up @@ -35,7 +34,10 @@
(env
(dev
(flags
(:standard -warn-error -A))))
(:standard -warn-error -A -g)
(-I %{env:OPAM_SWITCH_PREFIX=}/lib/gmp/)
(-I %{env:OPAM_SWITCH_PREFIX=}/lib/ppl)
)))


(rule
Expand Down

0 comments on commit 198b2ac

Please sign in to comment.