summaryrefslogtreecommitdiff
path: root/libjava/scripts
diff options
context:
space:
mode:
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-22 15:48:46 +0000
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-22 15:48:46 +0000
commitc9b39a1ea1ac737b43eb80ff83dcb50049ef6d23 (patch)
tree19e8713d7afd946142d350a9ff1e1bb03716c6ee /libjava/scripts
parentd454a92885eb03156445e2f44143389e3b013e59 (diff)
downloadgcc-c9b39a1ea1ac737b43eb80ff83dcb50049ef6d23.tar.gz
2007-12-22 David Daney <ddaney@avtrex.com>
* doc/install.texi (disable-libgcj-bc): Document new option. 2007-12-22 David Daney <ddaney@avtrex.com> * scripts/makemake.tcl (emit_bc_rule): Use $(LIBGCJ_BC_FLAGS) instead of -findirect-dispatch -fno-indirect-classes. * configure.ac (libgcj-bc): New AC_ARG_ENABLE. (SUPPRESS_LIBGCJ_BC): New AM_CONDITIONAL. * Makefile.am (LIBGCJ_BC_FLAGS): New variable. * Makefile.in: Regenerate. * include/Makefile.in: Same. * testsuite/Makefile.in: Same. * configure: Same. * gcj/Makefile.in: Same. * sources.am: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131135 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/scripts')
-rwxr-xr-xlibjava/scripts/makemake.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/scripts/makemake.tcl b/libjava/scripts/makemake.tcl
index 988770a61e6..080265821f7 100755
--- a/libjava/scripts/makemake.tcl
+++ b/libjava/scripts/makemake.tcl
@@ -317,7 +317,9 @@ proc emit_bc_rule {package} {
if {$package_map($package) == "bc"} {
puts -nonewline "-fjni "
}
- puts "-findirect-dispatch -fno-indirect-classes -c -o $loname @$tname"
+ # Unless bc is disabled with --disable-libgcj-bc, $(LIBGCJ_BC_FLAGS) is:
+ # -findirect-dispatch -fno-indirect-classes
+ puts "\$(LIBGCJ_BC_FLAGS) -c -o $loname @$tname"
puts "\t@rm -f $tname"
puts ""