view druntime/src/build-ldc.sh @ 1507:f86fd3b77285

Eliminate comparisons between GC allocations and constants. This removes some `assert(this !is null)`s when member functions get inlined. Also tweak pass order a bit.
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 20 Jun 2009 14:28:59 +0200
parents da3262e901b4
children
line wrap: on
line source

#!/usr/bin/env bash

OLDHOME=$HOME
export HOME=`pwd`

goerror(){
    export HOME=$OLDHOME
    echo "="
    echo "= *** Error ***"
    echo "="
    exit 1
}

make clean -fldc-posix.mak          || goerror
make -fldc-posix.mak                || goerror
chmod 644 ../import/core/*.di       || goerror
chmod 644 ../import/core/sync/*.di  || goerror

export HOME=$OLDHOME