aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/compile/Makefile
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-05-07 14:59:22 +0200
committerMicael Karlberg <[email protected]>2019-05-22 18:21:02 +0200
commit3f490bea2e21871f534cdcd49d85314eb35f0164 (patch)
treeedcf27f43e6589e1681736baf16d4c9b4c334b9c /lib/snmp/src/compile/Makefile
parent6d955c8377f4df9c215424349050b38b8c7628b4 (diff)
downloadotp-3f490bea2e21871f534cdcd49d85314eb35f0164.tar.gz
otp-3f490bea2e21871f534cdcd49d85314eb35f0164.tar.bz2
otp-3f490bea2e21871f534cdcd49d85314eb35f0164.zip
[snmp] Replaced usage of random with rand
Use of the deprecated module random has been replaced by the module rand. OTP-15331
Diffstat (limited to 'lib/snmp/src/compile/Makefile')
-rw-r--r--lib/snmp/src/compile/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/snmp/src/compile/Makefile b/lib/snmp/src/compile/Makefile
index 4093ffa9ca..d9678669a5 100644
--- a/lib/snmp/src/compile/Makefile
+++ b/lib/snmp/src/compile/Makefile
@@ -2,7 +2,7 @@
# %CopyrightBegin%
#
-# Copyright Ericsson AB 1997-2016. All Rights Reserved.
+# Copyright Ericsson AB 1997-2019. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -59,6 +59,8 @@ PARSER_TARGET = $(PARSER_MODULE).$(EMULATOR)
# ----------------------------------------------------
# FLAGS
# ----------------------------------------------------
+ERL_COMPILE_FLAGS += -pa $(ERL_TOP)/lib/snmp/ebin
+
ifeq ($(WARN_UNUSED_VARS),true)
ERL_COMPILE_FLAGS += +warn_unused_vars
endif