Diff

Differences From Artifact [b27dfe1f7d]:

To Artifact [36d16f76ac]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

if [ -z "${CROSS}" ]; then
	echo 'Error: Environment variable CROSS is empty/unset.  Aborting.' >&2

	exit 1
fi

PATH="${PATH}:${HOME}/root/cross-compilers/${CROSS}/bin"
AR="${CROSS}-ar"
CC="${CROSS}-gcc ${CC_ADD}"
CXX="${CROSS}-g++ ${CC_ADD}"
RANLIB="${CROSS}-ranlib"
STRIP="${CROSS}-strip"
export PATH AR CC CXX RANLIB STRIP

|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash

if [ -z "${CROSS}" ]; then
	echo 'Error: Environment variable CROSS is empty/unset.  Aborting.' >&2

	exit 1
fi

PATH="$(pwd)/build/fake-bin:${HOME}/root/cross-compilers/${CROSS}/${CROSS}/bin:${PATH}:${HOME}/root/cross-compilers/${CROSS}/bin"
AR="${CROSS}-ar"
CC="${CROSS}-gcc ${CC_ADD}"
CXX="${CROSS}-g++ ${CC_ADD}"
RANLIB="${CROSS}-ranlib"
STRIP="${CROSS}-strip"
export PATH AR CC CXX RANLIB STRIP