[bug] AutotoolsToolchain does not respect extra_cflags
or extra_cxxflags
when used with environment vars.
#12228
Labels
extra_cflags
or extra_cxxflags
when used with environment vars.
#12228
AutotoolsToolchain does not respect the
extra_cflags
attribute when used with the environment.Environment Details (include every applicable attribute)
Steps to reproduce
Edit the conanfile
generate
method to addRun
Expected result
The
-march=native
flag should be present in the compiler command line:Actual result
The additional flag is not preset
Workaround
Use
The flag is present in the output as expected.
The text was updated successfully, but these errors were encountered: