Move -Werror from configure to cfg.
authorSimon Josefsson <simon@josefsson.org>
Tue, 11 Nov 2008 09:30:49 +0000 (10:30 +0100)
committerSimon Josefsson <simon@josefsson.org>
Tue, 11 Nov 2008 09:30:49 +0000 (10:30 +0100)
cfg.mk
configure.in

diff --git a/cfg.mk b/cfg.mk
index a5582c8..ed3e389 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -16,7 +16,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-CFGFLAGS ?= --enable-gtk-doc
+CFGFLAGS ?= --enable-gtk-doc WARN_CFLAGS=-Werror
 
 ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile)
 .DEFAULT_GOAL := bootstrap
index def5c13..5987fcf 100644 (file)
@@ -100,7 +100,6 @@ gl_WARN_ADD([-Wall])
 gl_WARN_ADD([-Wpointer-arith])
 gl_WARN_ADD([-Wstrict-prototypes])
 gl_WARN_ADD([-Wno-pointer-sign])
-gl_WARN_ADD([-Werror])
 
 AC_CONFIG_FILES([ \
   Makefile \