config/arch/sparc.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:09:43 2011 +0200 (2011-05-19)
branch1.11
changeset 2465 5f98b7a90fbc
child 2444 896cb0d36c1a
permissions -rw-r--r--
complibs/ppl: fix 0.11-0.11.2 to compile with --disable-shared

PPL 0.11 (through 0.11.2) had a small bug where it still tried to build
and test its Java interface even when shared libraries are disabled.
Since that's exactly what ct-ng does, it explodes.

This is the patch from the PPL authors (see final link below).

More information can be found in these messages/threads:

Anthony's initial report and analysis with Yann:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00046.html

Ron Flory hit the same problem:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00054.html

Anthony's report to the ppl-devel list:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017450.html

Roberto's reply with a link to the fix in the PPL git repo:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017455.html

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
(transplanted from 139b85d70b623e51f7585e7c64ecb8c6a6cf4567)
sam@2371
     1
# SPARC specific config options
sam@2371
     2
sam@2371
     3
config ARCH_sparc
sam@2371
     4
    select ARCH_SUPPORTS_32
sam@2371
     5
    select ARCH_SUPPORTS_64
sam@2371
     6
    select ARCH_DEFAULT_32
sam@2371
     7
    select ARCH_USE_MMU
sam@2371
     8
    select ARCH_SUPPORT_CPU
sam@2371
     9
    select ARCH_SUPPORT_TUNE
sam@2371
    10
    help
sam@2371
    11
      The SUN SPARC architecture, as defined by:
sam@2371
    12
        32 bit: http://www.sparc.org/standards/V8.pdf
sam@2371
    13
        64 bit: http://www.sparc.org/standards/SPARCV9.pdf