Skip to content

Commit

Permalink
Add -absname via dynamic bin/ocamlcflags
Browse files Browse the repository at this point in the history
  • Loading branch information
aryx committed Apr 27, 2024
1 parent 333913a commit 99f21da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions bin/ocamlcflags
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
echo "-absname -bin-annot"
4 changes: 2 additions & 2 deletions mkconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ OPT=.opt

# Limit to just stdcompat! This is Xix!
EXTERNAL_LIB=`ocamlfind query stdcompat`
EXTRA_FLAGS=`ocamlcflags`

# -g so we can get good backtrace
#TODO: -bin-annot -absname
#WARNING_FLAGS?=-w +A-4-29-6-45-41-44-48 -warn-error +a
#OCAMLCFLAGS=-thread $(WARNING_FLAGS) $(OCAMLCFLAGS_EXTRA)
COMPFLAGS=-I $EXTERNAL_LIB -g
COMPFLAGS=-I $EXTERNAL_LIB -g $EXTRA_FLAGS

# We need -g for good backtrace.
# We need -custom because of dllstdcompat__stubs, otherwise
Expand Down

0 comments on commit 99f21da

Please sign in to comment.