On Tue, Aug 6, 2013 at 4:17 PM, Jose A. Lopes <[email protected]> wrote:
> From: "Jose A. Lopes" <[email protected]>
>
> Remove filename suffix, for Haskell object and interface file, in GHC
> invocation to prevent recompilation of the same Haskell sources.
>
> Signed-off-by: Jose A. Lopes <[email protected]>
> ---
>  Makefile.am | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index e32e31a..56b8e82 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -866,7 +866,6 @@ $(HS_ALL_PROGS): %: %.hs $(HS_LIBTESTBUILT_SRCS) Makefile
>         $(GHC) --make \
>           $(HFLAGS) \
>           $(HS_PARALLEL3) $(HS_REGEX_PCRE) \
> -         -osuf $(notdir $@).o -hisuf $(notdir $@).hi \
>           $(HEXTRA) $(HEXTRA_INT) $@
>         @touch "$@"
>

Are you sure this is enough?
d5506465b53089cc3c3d126fc42fc26c971271b7 says this was introduced because:

- different compilation options are used for different tools
- different libraries are used in different binaries (and thus I
suppose different preprocessing directories enabling/disabling code,
eg. if we don't have some optional library installed that would allow
some tool to work but not others)

Are these both not an issue anymore?


Thanks,

Guido

Reply via email to