diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-05-20 11:05:18 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-05-20 11:05:18 +0200 |
commit | d1db3ee59c9886ad4f0390a8bc28fbc08c0837f1 (patch) | |
tree | 8a1812139997ac7804a546b33d66d1e9aec39b08 | |
parent | 789c9d820186328e14dc93c32c1a766445ede4f4 (diff) | |
download | libtasn1-d1db3ee59c9886ad4f0390a8bc28fbc08c0837f1.tar.gz libtasn1-d1db3ee59c9886ad4f0390a8bc28fbc08c0837f1.tar.bz2 libtasn1-d1db3ee59c9886ad4f0390a8bc28fbc08c0837f1.zip |
Fix warning flags.
-rw-r--r-- | cfg.mk | 4 | ||||
-rw-r--r-- | examples/Makefile.am | 2 | ||||
-rw-r--r-- | lib/Makefile.am | 2 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
4 files changed, 6 insertions, 4 deletions
@@ -16,7 +16,9 @@ # 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 WARN_CFLAGS=-Werror +WFLAGS ?= --enable-gcc-warnings +ADDFLAGS ?= +CFGFLAGS ?= --enable-gtk-doc $(ADDFLAGS) $(WFLAGS) INDENT_SOURCES = `find . -name \*.[ch]|grep -v -e ^./gl -e ^./lib/gl -e ^./build-aux/ -e ^./lib/ASN1.c -e ^./tests/Test_tree_asn1_tab.c` diff --git a/examples/Makefile.am b/examples/Makefile.am index 62c84f0..b6997c3 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -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/>. -AM_CFLAGS = $(WARN_CFLAGS) +AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_builddir)/gl EXTRA_DIST = asn1Coding_test.asn asn1Coding_test.asg diff --git a/lib/Makefile.am b/lib/Makefile.am index ae1988b..c94d937 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -18,7 +18,7 @@ SUBDIRS = gllib -AM_CFLAGS = $(WARN_CFLAGS) $(CFLAG_VISIBILITY) +AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(builddir)/gllib -DASN1_BUILDING include_HEADERS = libtasn1.h diff --git a/src/Makefile.am b/src/Makefile.am index 58d8f89..85cf3fa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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/>. -AM_CFLAGS = $(WARN_CFLAGS) +AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_builddir)/gl LDADD = ../lib/libtasn1.la ../gl/libgnu.la |