2

My impression is that while setting the CFLAGS variable is effective when bash is the default shell, it doesn't make an effect with dash (the Debian Almquist shell).

First of all please correct me if my observation is wrong.

Secondly (if my observation is right), how can I get a global CFLAGS variable effectively go through dash?

I've set the variable in ~/.profile like this:

export CFLAGS=-march=native

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.