src/Makefile.am: We don't gain anything by setting AM_CFLAGS to C_OR_CXX_FLAGS
commit659f66c9bab55970319adf271283f41fa6ce42e1
authorPeter Clifton <peter@clifton-electronics.co.uk>
Thu, 3 Jan 2013 02:58:17 +0000 (3 02:58 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Thu, 3 Jan 2013 02:58:17 +0000 (3 02:58 +0000)
tree0ea170dc9ebd7eb7f5698295321f155f1cca217f
parente37a22f0727187654fc64fa1e3d8fb5594c7101c
src/Makefile.am: We don't gain anything by setting AM_CFLAGS to C_OR_CXX_FLAGS

We were duplicating command-line flags un-necessarily, and it does not
stop the a build with the C++ compiler using CFLAGS, as was (in hindsight)
the original intention before commit 72cdf2ecef3361a00fbd0ee3e540f7383e62272c
where I changed a complete CFLAGS override to a AM_CFLAGS addition.

As we should not override CFLAGS in a Makefile (it prevents the user from
setting CFLAGS at "make" time), I'm removing this completely.
src/Makefile.am