diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-03-05 11:26:38 -0800 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2012-03-06 09:08:45 -0800 |
commit | dd6e963e0833b2920f1bb120b6fba6e2e3c60121 (patch) | |
tree | 4ba13c3df75250a87387798c8212867580864cf2 /configure.ac | |
parent | e888dcd08cb4b5ee332f155207a56f7098524e14 (diff) |
Define automake CPP warning flags in Makefile.am, not configure.ac
Otherwise, AM_CPPFLAGS could not be overridden in Makefile.am.
Also, move AM_CXXFLAGS to the top of src/Makefile.am to match.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e6f94df..3178a3f 100644 --- a/configure.ac +++ b/configure.ac @@ -46,7 +46,7 @@ AC_SUBST(DUMMY_CONF_PATH, "$datadir/xorg/gtest/dummy.conf") AC_CONFIG_FILES([Makefile xorg-gtest.pc]) -AC_SUBST(AM_CPPFLAGS, "-Wall -Werror") +AC_SUBST(WARNING_CPPFLAGS, "-Wall -Werror") AC_CONFIG_FILES([data/Makefile doc/Makefile |