Thanks Brandon, it makes sense, dumb me for not having thought that in the first place. 

A.


On 20 October 2013 17:08, Brandon Allbery <allbery.b@gmail.com> wrote:
On Sun, Oct 20, 2013 at 11:50 AM, Alfredo Di Napoli <alfredo.dinapoli@gmail.com> wrote:
strangely enough, now that I've recompiled the program cabal does pass the correct flag and everything works as expected.

Yes, that is in ghc-options and therefore only does something when you compile; it's not consulted at runtime (indeed, running a program doesn't even look at the cabal file).

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net