Ticket #11057: disable-tls-haikuports.cross.patch

File disable-tls-haikuports.cross.patch, 1.0 KB (added by arvindsraj, 10 years ago)
  • sys-devel/gcc_bootstrap/gcc_bootstrap-4.8.3_2014_05_28.recipe

    From a4c1ba1734541954c0b8f29460316b092c2c5692 Mon Sep 17 00:00:00 2001
    From: Arvind S Raj <sraj.arvind@gmail.com>
    Date: Mon, 21 Jul 2014 18:59:18 +0530
    Subject: [PATCH] Disable building gcc with TLS support since ARM build fails
     due to undefined references
    
    ---
     sys-devel/gcc_bootstrap/gcc_bootstrap-4.8.3_2014_05_28.recipe | 3 +++
     1 file changed, 3 insertions(+)
    
    diff --git a/sys-devel/gcc_bootstrap/gcc_bootstrap-4.8.3_2014_05_28.recipe b/sys-devel/gcc_bootstrap/gcc_bootstrap-4.8.3_2014_05_28.recipe
    index f177ce3..b7b9a5f 100644
    a b BUILD()  
    106106        # soft-float libraries, too, which fails as no soft float libroot is
    107107        # available
    108108        additionalConfigureFlags+=" --disable-multilib --with-float=hard"
     109
     110        # TODO: Disable building wtih TLS support for ARM until implemented
     111        additionalConfigureFlags+=" --disable-tls"
    109112    fi
    110113
    111114    CFLAGS="-O2 -U_FORTIFY_SOURCE" CXXFLAGS="-O2" "$sourceDir/configure" \