When invoking $(JAVAC), pass $(ALL_JAVACFLAGS).

Estimated hours taken: 0.25
Branches: main

scripts/Mmake.rules:
	When invoking $(JAVAC), pass $(ALL_JAVACFLAGS).
This commit is contained in:
Fergus Henderson
2004-02-20 01:05:00 +00:00
parent b912588583
commit 52ea36dca5

View File

@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------#
# Copyright (C) 1995-2003 The University of Melbourne.
# Copyright (C) 1995-2004 The University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#-----------------------------------------------------------------------------#
@@ -241,12 +241,12 @@ $(rlos_subdir)%.rlo : %.m
ifeq ($(MMAKE_USE_SUBDIRS),yes)
$(classes_subdir)%.class: $(javas_subdir)%.java
$(JAVAC) -d $(classes_subdir) $<
$(JAVAC) $(ALL_JAVACFLAGS) -d $(classes_subdir) $<
else
$(classes_subdir)%.class: $(javas_subdir)%.java
$(JAVAC) $<
$(JAVAC) $(ALL_JAVACFLAGS) $<
endif