diff options
author | rbuj <[email protected]> | 2019-09-28 11:34:14 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-10-01 09:54:59 +0200 |
commit | b155f9d6fed0d33da27bed707276d48482ac1e7c (patch) | |
tree | 3784566d983f8315ec5c0133217323bb29b086eb /tools | |
parent | 310ad6d6bc46115ac8eaa8c1b5e6e9e3f9eb6290 (diff) | |
download | mate-system-monitor-b155f9d6fed0d33da27bed707276d48482ac1e7c.tar.bz2 mate-system-monitor-b155f9d6fed0d33da27bed707276d48482ac1e7c.tar.xz |
Use MATE_COMPILE_WARNINGS and MATE_CXX_WARNINGS macros
- It adds WARN_CFLAGS to CFLAGS, and WARN_CXXLAGS to CXXFLAGS
- By default, --enable-cxx-warnings=yes --enable-compile-warnings=yes
- It prints the warning flags in configure summary
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 204a42b..e752c94 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -4,9 +4,9 @@ AM_CPPFLAGS = $(TOOLS_CFLAGS) msm_renice_SOURCES = msm_execute_helper.c msm_renice_LDADD = $(TOOLS_LIBS) -msm_renice_CFLAGS = -DCOMMAND=\"renice\" +msm_renice_CFLAGS = -DCOMMAND=\"renice\" $(WARN_CFLAGS) msm_kill_SOURCES = msm_execute_helper.c msm_kill_LDADD = $(TOOLS_LIBS) -msm_kill_CFLAGS = -DCOMMAND=\"kill\" +msm_kill_CFLAGS = -DCOMMAND=\"kill\" $(WARN_CFLAGS) |