summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-11-11 10:30:49 +0100
committerSimon Josefsson <simon@josefsson.org>2008-11-11 10:30:49 +0100
commit7ec3055d6b5949687b0f179b8dacc4146b47c702 (patch)
tree2f7a1f2836dbee0957d1cf1a6de6774e77a32ce6
parentf5b4abf81fe2cb409f6732294b9ada58fea928ac (diff)
downloadlibtasn1-7ec3055d6b5949687b0f179b8dacc4146b47c702.tar.gz
libtasn1-7ec3055d6b5949687b0f179b8dacc4146b47c702.tar.bz2
libtasn1-7ec3055d6b5949687b0f179b8dacc4146b47c702.zip
Move -Werror from configure to cfg.
-rw-r--r--cfg.mk2
-rw-r--r--configure.in1
2 files changed, 1 insertions, 2 deletions
diff --git a/cfg.mk b/cfg.mk
index a5582c8..ed3e389 100644
--- 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
diff --git a/configure.in b/configure.in
index def5c13..5987fcf 100644
--- a/configure.in
+++ b/configure.in
@@ -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 \