Files
lifting-bits-remill/scripts/bootstrap.sh
T
Ryan Stortz 4c8f433750 Saving work adding OS X support.
I think the llvm+clang download has rtti off but this project requires
it to be on. We might need to build llvm and clang each time. :(
2015-11-28 20:40:43 -05:00

15 lines
369 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright 2015 Peter Goodman (peter@trailofbits.com), all rights reserved.
SCRIPTS_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
if [[ "$OSTYPE" == "linux-gnu" ]]; then
exec $SCRIPTS_DIR/bootstrap_linux.sh
elif [[ "$OSTYPE" == "darwin"* ]]; then
exec $SCRIPTS_DIR/bootstrap_osx.sh
else
echo "Unsupported platform: $OSTYPE"
fi