This commit is contained in:
Daniel
2018-10-20 01:47:15 +02:00
parent d847b8d625
commit 747ddcafe8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -3,10 +3,10 @@ export PREFIX="`pwd`/rel-bin/${TARGET}"
export PATH="${PREFIX}/bin:${PATH}"
export OUT="`pwd`/out"
if [ "${1}" == "64" ]; then
if [ "${2}" == "64" ]; then
export CC="cc -m64"
export CXX="c++ -m64"
elif [ "${1}" == "32" ]; then
elif [ "${2}" == "32" ]; then
export CC="cc -m32"
export CXX="c++ -m32"
else
+1 -1
View File
@@ -15,7 +15,7 @@ for i in aarch64-${TUPLE}-linux alpha-${TUPLE}-linux arm-${TUPLE}-eabi arc-${TUP
else
sudo rm -rf binutils-* build-* LATEST-* gcc-* newlib-*
sudo ./danio_gcc.sh ${i} | tee out/${i}.log
sudo ./danio_gcc.sh ${i} ${1} | tee out/${i}.log
fi
done
if [ -e .error ]; then