summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-05-20 11:05:18 +0200
committerSimon Josefsson <simon@josefsson.org>2009-05-20 11:05:18 +0200
commitd1db3ee59c9886ad4f0390a8bc28fbc08c0837f1 (patch)
tree8a1812139997ac7804a546b33d66d1e9aec39b08 /cfg.mk
parent789c9d820186328e14dc93c32c1a766445ede4f4 (diff)
downloadlibtasn1-d1db3ee59c9886ad4f0390a8bc28fbc08c0837f1.tar.gz
Fix warning flags.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index 3278b85..8e27913 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -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`