Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1069: tango-build-prerelease.patch

File tango-build-prerelease.patch, 0.5 kB (added by afb, 6 months ago)
  • lib/build-gdc-x.sh

    old new  
    2929    ADD_CFLAGS="-mregnames" 
    3030fi 
    3131 
    32 GDC_VER="`$HOST-gdc --version | grep 'gdc' | sed 's/^.*gdc \([0-9]*\.[0-9]*\).*$/\1/'`" 
     32GDC_VER="`$HOST-gdc --version | grep 'gdc' | sed 's/^.*gdc \(pre\-?release \)*\([0-9]*\.[0-9]*\).*$/\2/'`" 
    3333GDC_MAJOR="`echo $GDC_VER | sed 's/\..*//'`" 
    3434GDC_MINOR="`echo $GDC_VER | sed 's/.*\.//'`" 
    3535