30 Jun
2022
30 Jun
'22
4:09 p.m.
On Wed, Jun 29, 2022 at 5:26 PM Matthew Brett <matthew.brett@gmail.com> wrote:
Hi,
I am very sorry - I feel I should know this, or be able to work it out, but is there a way of setting the flags to the C compiler and the linker, for the Numpy build, on Windows?
I'm trying to set the flags for a build with Windows mingw-w64 - but I believe Numpy is ignoring $env:LDFLAGS, $env:CFLAGS and $env:OPT - and I can't see any way of setting these options from the command line. Am I missing something?
Cheers,
Matthew
I don't know how you are using env, but variables set that way are local to the shell in which they are set. In PS that is every separate shell invocation. Chuck