Pass -Wall -Wextra when building on linux32.
authorRalph Giles <giles@thaumas.net>
Mon, 28 Mar 2016 20:00:30 +0000 (13:00 -0700)
committerRalph Giles <giles@thaumas.net>
Mon, 28 Mar 2016 20:02:12 +0000 (13:02 -0700)
We want to be warning-free, so this should be the default,
not just debug builds. It already is on most other targets.

configure.ac

index 25c2dd6..86851b9 100644 (file)
@@ -133,7 +133,7 @@ else
        case $host in
        *86-*-linux*)
                DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
-               CFLAGS="-O3 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
+               CFLAGS="-O3 -Wall -Wextra -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
 #                      PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
                PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"