commit | e48f37657dc03aee9aace60bf14ef9af489bf47c | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <[email protected]> | Sat Mar 17 15:12:44 2012 -0300 |
committer | Lucas De Marchi <[email protected]> | Mon Mar 19 01:17:05 2012 -0300 |
tree | 24cb49941d324e4f3bbfdbd3945a2f07a05c4ff7 | |
parent | 3ef7208ecfa2fb3edc0d3f6344811e686907c94c [diff] |
build-sys: don't set CFLAGS and LDFLAGS These variables are supposed to be set by user. What we can do in configure is to set another variable and AC_SUBST() it. Then in Makefile.am we assign it to AM_{CFLAGS,LDFLAGS}. This way user can always override their values, in configure or make phase. Reference: http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html