Revision 762a28c6

b/Makefile.am
538 538
HEXTRA =
539 539
# internal extra flags (used for test/hs/htest mainly)
540 540
HEXTRA_INT =
541
# combination of HEXTRA and HEXTRA_CONFIGURE
542
HEXTRA_COMBINED = $(HEXTRA) $(HEXTRA_CONFIGURE)
541 543
# exclude options for coverage reports
542 544
HPCEXCL = --exclude Main \
543 545
	--exclude Ganeti.Constants \
......
881 883
	  $(HFLAGS) \
882 884
	  $(HS_PARALLEL3) $(HS_REGEX_PCRE) \
883 885
	  -osuf $(notdir $@).o -hisuf $(notdir $@).hi \
884
	  $(HEXTRA) $(HEXTRA_INT) $@
886
	  $(HEXTRA_COMBINED) $(HEXTRA_INT) $@
885 887
	@touch "$@"
886 888

  
887 889
# for the test/hs/htest binary, we need to enable profiling/coverage
b/configure.ac
24 24
AC_SUBST([VERSION_SUFFIX], gnt_version_suffix)
25 25
AC_SUBST([VERSION_FULL], gnt_version_full)
26 26

  
27
# --with-haskell-flags=
28
AC_ARG_WITH([haskell-flags],
29
  [AS_HELP_STRING([--with-haskell-flags=FLAGS],
30
    [Extra flags to pass to GHC]
31
  )],
32
  [hextra_configure="$withval"],
33
  [hextra_configure=""])
34
AC_SUBST(HEXTRA_CONFIGURE, $hextra_configure)
35

  
27 36
# --with-ssh-initscript=...
28 37
AC_ARG_WITH([ssh-initscript],
29 38
  [AS_HELP_STRING([--with-ssh-initscript=SCRIPT],

Also available in: Unified diff