https://gitlab.com/tezos/tezos
Revision a32a2fcd3144ddaf14cf7713a1ed3b7ad01df909 authored by Valentin Chaboche on 06 February 2024, 17:40:10 UTC, committed by Valentin Chaboche on 07 February 2024, 18:04:27 UTC
1 parent 153931c
Raw File
Tip revision: a32a2fcd3144ddaf14cf7713a1ed3b7ad01df909 authored by Valentin Chaboche on 06 February 2024, 17:40:10 UTC
EVM/Kernel: allow read/handle input to fail
Tip revision: a32a2fc
dune
(vendored_dirs vendors)
(data_only_dirs _opam-repo-for-release)
(env
 (_
  (binaries (%{workspace_root}/src/tooling/node_wrapper.exe as node))))

; This file is included in the link_flags stanza of binaries for which
; we want a static build.
; If the current dune profile is "static", it contains the flag
; telling the compiler to compile static executables.
; Else it contains no flags.
(rule
 (target static-link-flags.sexp)
 (action (with-stdout-to %{target}
  (system "[ '%{profile}' = 'static' ] && echo '(-ccopt -static -cclib -lusb-1.0 -cclib -ludev)' || echo '()'"))))

; This file is included in the link_flags stanza of binaries and static libraries
; for which we should include -ccopt "-framework Security" on macOS.
(rule
 (target macos-link-flags.sexp)
 (action (with-stdout-to %{target}
  (system "[ '%{system}' = 'macosx' ] && echo '(-ccopt \"-framework Security\")' || echo '()'"))))
back to top