osrm-backend/scripts/gcc/4.9.2-i686/script.sh
Dane Springmeyer a34a885031 Squashed 'third_party/mason/' content from commit 1b3085e
git-subtree-dir: third_party/mason
git-subtree-split: 1b3085e812b08ef092ba43945e3ab9f802632280
2016-10-28 12:21:21 -07:00

33 lines
553 B
Bash
Executable File

#!/usr/bin/env bash
MASON_NAME=gcc
MASON_VERSION=4.9.2-i686
MASON_LIB_FILE=root/bin/i686-pc-linux-gnu-gcc
. ${MASON_DIR}/mason.sh
if [ -f ${MASON_PREFIX}/setup.sh ]; then
. ${MASON_PREFIX}/setup.sh
fi
function mason_load_source {
mkdir -p ${MASON_ROOT}
echo ${MASON_ROOT}
export MASON_BUILD_PATH=${MASON_ROOT}/../toolchain/${MASON_PLATFORM}
}
function mason_compile {
mkdir -p ${MASON_PREFIX}
cp -av ${MASON_BUILD_PATH}/* ${MASON_PREFIX}/
}
function mason_cflags {
:
}
function mason_ldflags {
:
}
mason_run "$@"