platformio / platform-native

Native: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/native
Apache License 2.0
21 stars 27 forks source link

Allow set compiler env variables #19

Open rhapsodyv opened 2 years ago

rhapsodyv commented 2 years ago

When we have multiples compilers, we need a way to set it using env vars and pio should respect it.

I can’t see any drawback, as users just have these env var set when they explicit want to use an specific compiler.

I usually set these env var in a pre script too.