[Scons-dev] Cancel any previous definition via -U using MergeFlags and VariantDir API

Ivan Kravets me at ikravets.com
Fri May 8 11:18:12 EDT 2015


Dear developers,

1. I've received an issue for PlatformIO https://github.com/platformio/platformio/issues/191 , where user reported that SCons doesn't recognise "-U" option using env.MergeFlags().

> https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html
> -U name
> Cancel any previous definition of name, either built in or provided with a -D option. 

Is it normal behaviour that SCons passes `-U` options to $CCFLAGS which follows before $CPPDEFINES?

2. Is any way/API to receive registered directories via "env.VariantDir()"?

Thanks in advance!


With best regards, Ivan Kravets
   - "Creativity comes from talent and never from knowledge" (c)
________________________
http://www.ikravets.com






More information about the Scons-dev mailing list