
mk/flavours/validate.mk has GhcStage2HcOpts = -O -dcore-lint GhcLibHcOpts = -O -dcore-lint How can I override these in my validate.mk? E.g. GhcLibHcOpts += -ddebug-output does not work. Thanks. One should really be able to override anything. Simon

Simon Peyton Jones via ghc-devs
mk/flavours/validate.mk has
GhcStage2HcOpts = -O -dcore-lint
GhcLibHcOpts = -O -dcore-lint How can I override these in my validate.mk? E.g.
GhcLibHcOpts += -ddebug-output does not work.
Are you sure this didn't work You added this line to mk/validate.mk, yes? Does mk/are-validating.mk exist? This seems to work for me. Cheers, - Ben

Could the problem be that ghc doesn’t support a -ddebug-output flag? It has -dno-debug-output, but I don’t know of a way to reverse that decision.
On Apr 24, 2017, at 9:13 AM, Ben Gamari
wrote: Simon Peyton Jones via ghc-devs
writes: mk/flavours/validate.mk has
GhcStage2HcOpts = -O -dcore-lint
GhcLibHcOpts = -O -dcore-lint How can I override these in my validate.mk? E.g.
GhcLibHcOpts += -ddebug-output does not work.
Are you sure this didn't work You added this line to mk/validate.mk, yes? Does mk/are-validating.mk exist? This seems to work for me.
Cheers,
- Ben _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

| Could the problem be that ghc doesn’t support a -ddebug-output flag?
| It has -dno-debug-output, but I don’t know of a way to reverse that
| decision.
Yes, I think that's the problem. I was surprised -- I thought everything had a negation.
Simon
| -----Original Message-----
| From: Richard Eisenberg [mailto:rae@cs.brynmawr.edu]
| Sent: 24 April 2017 14:29
| To: Ben Gamari

On April 24, 2017 9:29:26 AM EDT, Richard Eisenberg
Could the problem be that ghc doesn’t support a -ddebug-output flag? It has -dno-debug-output, but I don’t know of a way to reverse that decision.
On Apr 24, 2017, at 9:13 AM, Ben Gamari
wrote: Simon Peyton Jones via ghc-devs
writes: mk/flavours/validate.mk has
GhcStage2HcOpts = -O -dcore-lint
GhcLibHcOpts = -O -dcore-lint How can I override these in my validate.mk? E.g.
GhcLibHcOpts += -ddebug-output does not work.
Are you sure this didn't work You added this line to mk/validate.mk, yes? Does mk/are-validating.mk exist? This seems to work for me.
Cheers,
- Ben _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Good catch!
participants (3)
-
Ben Gamari
-
Richard Eisenberg
-
Simon Peyton Jones