On Thu, Jul 7, 2016 at 12:43 AM, Rob Nagler <numpy-cp...@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? > <https://mail.scipy.org/mailman/listinfo/numpy-discussion> > 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. Ralf
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion