diff options
author | Loïc Hoguin <[email protected]> | 2018-11-28 14:43:18 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-28 14:43:18 +0100 |
commit | c0e062aafae99877ccb907d95a5c98ce4da62779 (patch) | |
tree | f4122a5cafdebb439fbbd341b23851cb72c3132c /core | |
parent | be9ab3da2417057ca311ce44304c04739ac6475e (diff) | |
download | erlang.mk-c0e062aafae99877ccb907d95a5c98ce4da62779.tar.gz erlang.mk-c0e062aafae99877ccb907d95a5c98ce4da62779.tar.bz2 erlang.mk-c0e062aafae99877ccb907d95a5c98ce4da62779.zip |
Fix asn1 compilation with the +maps option
When this option is used no include file is generated.
Therefore don't error out if no include file can be found.
Diffstat (limited to 'core')
-rw-r--r-- | core/erlc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/erlc.mk b/core/erlc.mk index 7bcc2da..56e6b79 100644 --- a/core/erlc.mk +++ b/core/erlc.mk @@ -110,7 +110,7 @@ define compile_asn1 $(verbose) mkdir -p include/ $(asn1_verbose) erlc -v -I include/ -o asn1/ +noobj $(ERLC_ASN1_OPTS) $(1) $(verbose) mv asn1/*.erl src/ - $(verbose) mv asn1/*.hrl include/ + -$(verbose) mv asn1/*.hrl include/ $(verbose) mv asn1/*.asn1db include/ endef |