Skip to content

Commit a28f1e6

Browse files
committed
[snmp] add deterministic option when available for asn
Avoid build paths for snmp_pdus_basic.beam when deterministic is enabled.
1 parent 43f53b9 commit a28f1e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/snmp/src/misc/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ ERL_COMPILE_FLAGS += -I../../include \
9898
-I$(ERL_TOP)/lib/stdlib \
9999
$(SNMP_FLAGS)
100100

101+
ifeq ($(ERL_DETERMINISTIC),yes)
102+
ASN1_OPTS += +deterministic
103+
endif
101104

102105
# ----------------------------------------------------
103106
# Targets

0 commit comments

Comments
 (0)