~mro/geohash

dff4744d6367c282b5e27aca9b911ce2a06211ae — Marcus Rohrmoser 1 year, 5 months ago 0a32c16 ld-warning
repair linux build.
3 files changed, 7 insertions(+), 6 deletions(-)

M bin/dune
M bin/gen_flags.sh
M test/dune
M bin/dune => bin/dune +2 -2
@@ 25,5 25,5 @@
 (name main)
 (libraries lib geohash tyre)
 ; https://discuss.ocaml.org/t/ld-error-missing-note-gnu-stack-section/12478/2
 (flags (:include flags.sexp))
)
 (flags
  (:include flags.sexp)))

M bin/gen_flags.sh => bin/gen_flags.sh +2 -2
@@ 5,13 5,13 @@
case "$(uname -s)" in
  Darwin)
    # do not link statically on macos.
    echo '(:standard -cclib )'
    echo '(:standard -cclib)'
    ;;
  FreeBSD)
    echo '(:standard -cclib "-z noexecstack" -ccopt -static)'
    ;;
  *)
    echo '(:standard -cclib -ccopt -static)'
    echo '(:standard -ccopt -static)'
    ;;
esac


M test/dune => test/dune +3 -2
@@ 1,7 1,8 @@
; http://cumulus.github.io/Syndic/syndic/Syndic__/Syndic_atom/

(tests
 (package geohash_bin)
 (names geohash_test cgi_test route_test)
 (libraries geohash geohash_bin.lib)
 (flags (:standard -cclib "-z noexecstack"))
)
 (flags
  (:standard -cclib "-z noexecstack")))