Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.