build: remove -Werror when running ./configure
commitf21bc88fb3f7906e5c18b182930e15843c43a4cd
authorSteve Bennett <steveb@workware.net.au>
Mon, 10 Oct 2016 22:45:01 +0000 (11 08:45 +1000)
committerSteve Bennett <steveb@workware.net.au>
Mon, 10 Oct 2016 22:48:15 +0000 (11 08:48 +1000)
tree634939cafdc2ac37a91812bcd290c4a89d6e2f39
parent4a1c8a88a655af89bb963e34f467d7f71c4a507e
build: remove -Werror when running ./configure

Building with CFLAGS="-Werror -Wall" caused configure to fail due to
the following warnings being converted to errors:

* conflicting types for built-in function
* unused variable

When these warnings get converted to errors, they prevent the detection
of fork, isascii, isinf, isnan, math libs, long long & struct flock.

Add -Wno-error in this case to prevent these warnings being treated as errors.

Reported-by: Evan Hunter <evan@ozhiker.com>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
auto.def