diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-02-04 12:19:04 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-02-04 12:19:04 -0200 |
commit | aed9b9d18ebcdeb3d861c26eaf2f46b9616db2aa (patch) | |
tree | ad094bebe88b34a25e90068322df87a24ea4e8e8 /Makefile.am | |
parent | 83a829a286ae3efe0647a235bcc8db7b6d53d11a (diff) |
Test if -Wextra is supported. Closes #155.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 0c6eaca3..ea5e4397 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,7 @@ applications_DATA = htop.desktop pixmapdir = $(datadir)/pixmaps pixmap_DATA = htop.png -htop_CFLAGS = -pedantic -Wall -Wextra -std=c99 -rdynamic -D_XOPEN_SOURCE_EXTENDED -DSYSCONFDIR=\"$(sysconfdir)\" -I"$(my_htop_platform)" +htop_CFLAGS = -pedantic -Wall $(wextra_flag) -std=c99 -rdynamic -D_XOPEN_SOURCE_EXTENDED -DSYSCONFDIR=\"$(sysconfdir)\" -I"$(my_htop_platform)" AM_CPPFLAGS = -DNDEBUG myhtopsources = AvailableMetersPanel.c CategoriesPanel.c CheckItem.c \ |