Ticket #20838: gcc44-disable-libjava.diff

File gcc44-disable-libjava.diff, 1.6 KB (added by howarth@…, 15 years ago)

patch to add --disable-multilib-libjava to shorten the build

  • libjava/configure.ac

    old new  
    8282        [allow rebuilding of .class and .h files]))
    8383AM_CONDITIONAL(JAVA_MAINTAINER_MODE, test "$enable_java_maintainer_mode" = yes)
    8484
     85AC_ARG_ENABLE(libjava-multilib,
     86        AS_HELP_STRING([--enable-libjava-multilib], [build libjava as multilib]))
     87if test "$enable_libjava_multilib" = no; then
     88  multilib=no
     89  ac_configure_args="$ac_configure_args --disable-multilib"
     90fi
     91
    8592# It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
    8693GCC_NO_EXECUTABLES
    8794
  • libjava/configure

    old new  
    10181018  --enable-gconf-peer     compile GConf native peers for util.preferences
    10191019  --enable-java-maintainer-mode
    10201020                          allow rebuilding of .class and .h files
     1021  --enable-libjava-multilib
     1022                          build libjava as multilib
    10211023  --disable-dependency-tracking  speeds up one-time build
    10221024  --enable-dependency-tracking   do not reject slow dependency extractors
    10231025  --enable-maintainer-mode  enable make rules and dependencies not useful
     
    18501852fi
    18511853
    18521854
     1855# Check whether --enable-libjava-multilib was given.
     1856if test "${enable_libjava_multilib+set}" = set; then
     1857  enableval=$enable_libjava_multilib;
     1858fi
     1859
     1860if test "$enable_libjava_multilib" = no; then
     1861  multilib=no
     1862  ac_configure_args="$ac_configure_args --disable-multilib"
     1863fi
     1864
    18531865# It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
    18541866
    18551867