diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-01-24 17:18:28 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-03-04 22:45:15 +0100 |
commit | a11081085b9db8ee40236d47849276db71ba0801 (patch) | |
tree | 223c305fdb53f87fdb5506cd781b1a5b091c73aa /autoconf.mk.in | |
parent | 32b62035ce9d5d07f7396cc50a0c38215f19c906 (diff) | |
download | qpdf-a11081085b9db8ee40236d47849276db71ba0801.tar.zst |
Handle warning flags better
Make --enable-werror work properly on msvc, handle extra warnings
flags for msvc in configure.ac instead of hardcoding into
make/msvc.mk, separate warnings flags into WFLAGS in autoconf.mk to
avoid duplication and to make it easier to override.
Diffstat (limited to 'autoconf.mk.in')
-rw-r--r-- | autoconf.mk.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/autoconf.mk.in b/autoconf.mk.in index 630ba91e..b85faa23 100644 --- a/autoconf.mk.in +++ b/autoconf.mk.in @@ -12,12 +12,13 @@ docdir=@docdir@ htmldir=@htmldir@ pdfdir=@pdfdir CC=@CC@ -CFLAGS=@CFLAGS@ +WFLAGS=@WFLAGS@ +CFLAGS=@CFLAGS@ $(WFLAGS) LDFLAGS=@LDFLAGS@ LIBS=@LIBS@ CPPFLAGS=@CPPFLAGS@ CXX=@CXX@ -CXXFLAGS=@CXXFLAGS@ +CXXFLAGS=@CXXFLAGS@ $(WFLAGS) AR=@AR@ RANLIB=@RANLIB@ DLLTOOL=@DLLTOOL@ |