diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-22 23:03:39 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-22 23:03:39 +0000 |
commit | cdf47e536bc77c178a630f5bf474b7ba148394fd (patch) | |
tree | 29f085b19c89a9bba21ab7461a300809b9bfe12d /plugins/asn1/Makefile.am | |
parent | 7f3e4fea48dad56d9ecfb73aab614233cdde5a0e (diff) |
Add -Werror when using GCC only to the Makefile.am of the base
directory and most of the plugins to match the same command
put in the Makefile.nmake files for Windows compliations. Fix
a few warnings when compiling under gcc 3.4.4 on FreeBSD. Create
new automake file variable called USING_GCC in configure.in and
wiretap/configure.in to acomplish the above -Werror addition.
svn path=/trunk/; revision=21127
Diffstat (limited to 'plugins/asn1/Makefile.am')
-rw-r--r-- | plugins/asn1/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/asn1/Makefile.am b/plugins/asn1/Makefile.am index 7f84697be6..e63a570096 100644 --- a/plugins/asn1/Makefile.am +++ b/plugins/asn1/Makefile.am @@ -26,6 +26,10 @@ INCLUDES = -I$(top_srcdir) -I$(includedir) include Makefile.common +if USING_GCC +AM_CFLAGS = -Werror +endif + plugindir = @plugindir@ plugin_LTLIBRARIES = asn1.la |