| 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 <ben@smart-cactus.org> | Cc: Simon Peyton Jones <simonpj@microsoft.com>; ghc-devs <ghc- | devs@haskell.org> | Subject: Re: debug output | | 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 <ben@smart-cactus.org> | wrote: | > | > Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> 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 | > | https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.h | > askell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc- | devs&data=02%7C01%7Csi | > | monpj%40microsoft.com%7C1e1f7299f4394d74e6ec08d48b15ede7%7C72f988bf86f | > | 141af91ab2d7cd011db47%7C1%7C0%7C636286373683248991&sdata=zsguOlRYp2hn5 | > TYLtU9p5BYxQBVe7eEh9yrFJ8tfMWI%3D&reserved=0