]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
makefile-env: separate cppflags and cflags usage
authorNoah Watkins <noahwatkins@gmail.com>
Sat, 21 Sep 2013 17:18:24 +0000 (10:18 -0700)
committerNoah Watkins <noahwatkins@gmail.com>
Sat, 21 Sep 2013 17:24:04 +0000 (10:24 -0700)
commit11d8d75595329f979ebd0ec0e79b2bdf0ffe5f25
treee4a393711ff17947197081d0fcba84c76921905e
parent08a97ae45f4df58a6a8ea8a6400934d860cf5eb4
makefile-env: separate cppflags and cflags usage

AM_COMMON_FLAGS included both CPP and C[XX] flags. This can cause
re-definition errors like this:

make[4]: Nothing to be done for `all-am'.
CXX      cls/version/cls_version_client.o
<command-line>: warning: "__STDC_FORMAT_MACROS" redefined

because the macro definition appears in both AM_CXXFLAGS and
AM_CPPFLAGS.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/Makefile-env.am