samples/powerpc-405-linux-gnu/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Mon Dec 10 00:25:48 2012 +0100 (2012-12-10)
changeset 3135 3829050af02a
parent 2953 b0f1b8711716
child 3149 e1611da4bb05
permissions -rw-r--r--
complibs/ppl: fix build with newer gcc

ppl-0.10.x does not build with gcc-4.6+, as it uses constructs that were
warnings with gcc-4.5 and before, but are now errors with gcc-4.6 and
above.

Fix that by passing -fpermissive in CFLAGS for ppl 0.10.

Reported-by: Jeremy Rosen <jeremy.rosen@openwide.fr>
Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
     2 CT_SAVE_TARBALLS=y
     3 CT_LOG_EXTRA=y
     4 CT_ARCH_CPU="405"
     5 CT_ARCH_TUNE="405"
     6 CT_ARCH_FLOAT_SW=y
     7 CT_ARCH_powerpc=y
     8 CT_TARGET_VENDOR="405"
     9 CT_KERNEL_linux=y
    10 CT_KERNEL_V_2_6_31_14=y
    11 CT_BINUTILS_V_2_19_1a=y
    12 CT_BINUTILS_FOR_TARGET=y
    13 CT_CC_V_4_3_2=y
    14 CT_CC_LANG_FORTRAN=y
    15 CT_CC_LANG_CXX=y
    16 CT_CC_LANG_JAVA=y
    17 CT_LIBC_glibc=y
    18 CT_LIBC_GLIBC_V_2_9=y
    19 # CT_LIBC_GLIBC_FORCE_UNWIND is not set
    20 CT_LIBC_GLIBC_USE_PORTS=y
    21 CT_DEBUG_dmalloc=y
    22 CT_DEBUG_duma=y
    23 CT_DEBUG_gdb=y
    24 CT_GDB_NATIVE=y
    25 CT_GMP_V_4_3_2=y
    26 CT_MPFR_V_2_4_2=y