From: David Lamparter Date: Tue, 3 Mar 2015 09:00:43 +0000 (+0100) Subject: build: add --enable-werror X-Git-Tag: frr-2.0-rc1~575 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=49aee25dc4926d67adac165822ce588068f87ce9;p=matthieu%2Ffrr.git build: add --enable-werror This allows enabling -Werror in a consistent way. Note that this is different from just specifiying it in CFLAGS, since that would either break configure tests (if done on ./configure), or would override configure's CFLAGS (if done on make). Using --enable-werror instead provides a new WERROR variable that is additionally used during make with a consistent set of warning flags. The tests/ directory is exempt. (Rationale being, better to have more tests than pedantically complain about them.) Signed-off-by: David Lamparter ---