Skip to content

Commit

Permalink
Pass the content of the COQEXTRAFLAGS variable to coqc.
Browse files Browse the repository at this point in the history
  • Loading branch information
silene committed May 30, 2020
1 parent dcdad98 commit e16e66c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Remakefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ configure config.status: configure.in

%.vo: %.v | src/IEEE754/SpecFloat.v
@COQDEP@ -R src Flocq $< | @REMAKE@ -r $@
@COQC@ -R src Flocq $<
@COQC@ @COQEXTRAFLAGS@ -R src Flocq $<

examples/%.vo: examples/%.v
@COQDEP@ -R src Flocq -R examples FlocqEx $< | @REMAKE@ -r $@
Expand Down
2 changes: 2 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ if test ! "$COQDOC"; then
fi
AC_MSG_RESULT([$COQDOC])

AC_ARG_VAR(COQEXTRAFLAGS, [extra flags passed to Coq compiler [empty]])

if test "$libdir" = '${exec_prefix}/lib'; then
libdir="`$COQC -where | tr -d '\r' | tr '\\\\' '/'`/user-contrib/Flocq"
fi
Expand Down

0 comments on commit e16e66c

Please sign in to comment.