aboutsummaryrefslogtreecommitdiff
path: root/libjava/Makefile.am
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2000-12-13 15:45:29 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-12-13 15:45:29 +0000
commitee84a135f5e6346ac81ac4c345081b451d45e59b (patch)
tree229c698af953dacd4a468cc1b631ca5020d912df /libjava/Makefile.am
parentb639e6e4c60c25e37bf6bcdaa4686d09c8d88aa1 (diff)
downloadgcc-ee84a135f5e6346ac81ac4c345081b451d45e59b.zip
gcc-ee84a135f5e6346ac81ac4c345081b451d45e59b.tar.gz
gcc-ee84a135f5e6346ac81ac4c345081b451d45e59b.tar.bz2
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt. * Makefile.am (GCJ_WITH_FLAGS): New macro, includes --encoding option. (GCJCOMPILE): Use it. (JAVAC): Likewise. From-SVN: r38219
Diffstat (limited to 'libjava/Makefile.am')
-rw-r--r--libjava/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index 4fff252..4eb8b7c 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -71,11 +71,15 @@ GCJH = $(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh$(EXEEXT)
ZIP = $(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar$(EXEEXT)
endif # CANADIAN
-GCJCOMPILE = $(LIBTOOL) --tag=GCJ --mode=compile $(GCJ) -fassume-compiled -fclasspath=$(here) -L$(here) $(JC1FLAGS) -MD -MT $@ -MF $(@:.lo=.d) -c
+## The compiler with whatever flags we want for both -c and -C
+## compiles.
+GCJ_WITH_FLAGS = $(GCJ) --encoding=UTF-8
+
+GCJCOMPILE = $(LIBTOOL) --tag=GCJ --mode=compile $(GCJ_WITH_FLAGS) -fassume-compiled -fclasspath=$(here) -L$(here) $(JC1FLAGS) -MD -MT $@ -MF $(@:.lo=.d) -c
GCJLINK = $(LIBTOOL) --mode=link $(GCJ) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
LIBLINK = $(LIBTOOL) --mode=link $(CC) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
-JAVAC = $(GCJ) -C
+JAVAC = $(GCJ_WITH_FLAGS) -C
EH_COMMON_INCLUDE = @EH_COMMON_INCLUDE@