aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2019-03-05 16:23:33 +0100
committerRickard Green <[email protected]>2019-03-05 16:23:33 +0100
commitd395b625fab5a5b0119123e4c956c7efecf50662 (patch)
tree405e3e4971fbaff5649a584181a8de359e0784b7 /lib/erl_interface
parent4a8569345b99f05f5344ca19748f47d19a3ae597 (diff)
downloadotp-d395b625fab5a5b0119123e4c956c7efecf50662.tar.gz
otp-d395b625fab5a5b0119123e4c956c7efecf50662.tar.bz2
otp-d395b625fab5a5b0119123e4c956c7efecf50662.zip
Fix build of bootstrap
Diffstat (limited to 'lib/erl_interface')
-rw-r--r--lib/erl_interface/Makefile4
-rw-r--r--lib/erl_interface/configure.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/erl_interface/Makefile b/lib/erl_interface/Makefile
index 9471b0df18..5fff2cabdd 100644
--- a/lib/erl_interface/Makefile
+++ b/lib/erl_interface/Makefile
@@ -23,7 +23,11 @@ include $(ERL_TOP)/make/$(TARGET)/otp.mk
# ----------------------------------------------------
# Common Macros
# ----------------------------------------------------
+ifdef TERTIARY_BOOTSTRAP
+SUB_DIRECTORIES =
+else
SUB_DIRECTORIES = src doc/src
+endif
SPECIAL_TARGETS =
diff --git a/lib/erl_interface/configure.in b/lib/erl_interface/configure.in
index 53c2f7069c..67acb7c180 100644
--- a/lib/erl_interface/configure.in
+++ b/lib/erl_interface/configure.in
@@ -188,7 +188,7 @@ AC_MSG_CHECKING([for deprecated attribute])
AC_TRY_COMPILE([],
[void my_function(void) __attribute__((deprecated));],
[AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_DEPRECATED_ATTRIBUTE, [], [Define to 1 if you have the `deprecated' attribute])],
+ AC_DEFINE(HAVE_DEPRECATED_ATTRIBUTE, [1], [Define to 1 if you have the `deprecated' attribute])],
[AC_MSG_RESULT(no)])