From b8becc64eaa94290e8f325116fc16f62736141c5 Mon Sep 17 00:00:00 2001
From: Klas Johansson <klas.johansson@gmail.com>
Date: Wed, 11 Jan 2017 23:15:04 +0100
Subject: Set ASN.1 compilation options using ERLC_ASN1_OPTS

`ERLC_ASN1_OPTS` can be used to pass compiler options when compiling
ASN.1 files. By default, Erlang.mk will leave this empty, but it can
be redefined in a Makefile.
---
 doc/src/guide/app.asciidoc | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'doc/src/guide/app.asciidoc')

diff --git a/doc/src/guide/app.asciidoc b/doc/src/guide/app.asciidoc
index 229ce97..94f8eb1 100644
--- a/doc/src/guide/app.asciidoc
+++ b/doc/src/guide/app.asciidoc
@@ -284,6 +284,17 @@ include erlang.mk
 ERLC_OPTS := $(filter-out -Werror,$(ERLC_OPTS))
 ----
 
+==== ERLC_ASN1_OPTS
+
+`ERLC_ASN1_OPTS` can be used to pass compiler options when compiling
+ASN.1 files.  Please refer to the
+http://erlang.org/doc/man/asn1ct.html[asn1ct manual] for the full list.
+
+By default, Erlang.mk will leave this empty.
+
+You can redefine this variable in your Makefile.
+Please see the `ERLC_OPTS` section for instructions.
+
 ==== ERLC_EXCLUDE
 
 `ERLC_EXCLUDE` can be used to exclude some modules from the
-- 
cgit v1.2.3

