[Numpy-discussion] Remove FCompiler flags?
ralf.gommers at gmail.com
Thu Jul 7 16:19:39 EDT 2016
On Thu, Jul 7, 2016 at 12:43 AM, Rob Nagler <numpy-cpbxr at q33.us> wrote:
> I would like to remove "-fno-second-underscore" and "-Wall" from the
> fcompiler. I had hacked a build_clib subclass to remove the flags
> dynamically, but that is fragile (and is now broken). Is there a right way
> to remove flags?
No good way to do that I'm afraid, every method is pretty fragile. If it's
on my own machine, I would just remove the flags from fcompiler/gnu.py by
hand. If it needs to be dynamically, then I'd probably go for
monkeypatching the GnuFCompiler/Gnu95FCompiler classes from that package
instead of a command subclass.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion