Hi,
I want to append some compiler flags to CFLAGS_LOCAl variable defined in one makefile.
I am trying to append required flags in another makefile like this:
CFALGS_LOCAL = $(CFLAGS_LOCAL) +check=all
but when I make, I get the error:
../../../../rules/target.rules:4: *** Recursive variable `CFLAGS_LOCAL' references itself (eventually). Stop.
*** Error exit code 2
After searching on the net I found out that such thing (Recursive variable) is not possible. What is an alternative to above problem?
Thanks in advance,
Pritam