aboutsummaryrefslogtreecommitdiff
path: root/make/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'make/Makefile')
-rw-r--r--make/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/Makefile b/make/Makefile
index 56696720..48d09e60 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -69,6 +69,14 @@ else
endif
endif
+ifeq ($(DEBUG_CLASSFILES), true)
+ ANT_OPTIONS += -Djavac.debug=true
+ ANT_OPTIONS += -Djavac.debuglevel=source,lines,vars
+else
+ ANT_OPTIONS += -Djavac.debug=false
+ ANT_OPTIONS += -Djavac.debuglevel=
+endif
+
# Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN)
# and the somewhat misnamed CLASS_VERSION (-target NN)
ifdef TARGET_CLASS_VERSION