about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@conformal.com>2013-07-05 10:49:23 -0400
committerJosh Rickmar <jrick@conformal.com>2013-07-08 14:52:56 -0400
commit5b1ee64417bece200bef05972a0d4ac205120121 (patch)
tree3f4dfa197c8764a617bc0df6897e1d2c8c00e9c6 /Makefile
parentc5ec3f447beb3ca21dfc6c7d9ebcc072352f7716 (diff)
downloadxombrero-5b1ee64417bece200bef05972a0d4ac205120121.tar.gz
Kill float equality comparisons.
Add -Wfloat-equal to CFLAGS to prevent more from showing up in the
future.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e552b18..235344d 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,9 @@ DEBUG= -g
 
 SRCS= cookie.c inspector.c marco.c about.c whitelist.c settings.c inputfocus.c
 SRCS+= history.c completion.c tldlist.c externaleditor.c unix.c xombrero.c
-CFLAGS+= -O2 -Wall -Wno-format-extra-args -Wunused
-CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -Wno-deprecated-declarations ${DEBUG}
+CFLAGS+= -O2 -Wall -Wno-format-extra-args -Wunused -Wextra -Wno-unused-parameter
+CFLAGS+= -Wno-missing-field-initializers -Wno-sign-compare
+CFLAGS+= -Wno-deprecated-declarations -Wfloat-equal ${DEBUG}
 CFLAGS+= -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE
 CFLAGS+= -I. -I${.CURDIR}
 LDADD= -lutil