summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2011-01-08 18:45:21 +0100
committerLukc <lukc@upyum.com>2011-01-08 18:45:21 +0100
commitc4b9d9e80826b8f309f21298440c0baf492929a2 (patch)
tree98b2561257dd9518326e1c97cc03102a58295b01 /gcc
parent91f7c987c26853e777c599731e65222081df3732 (diff)
downloaddevel-c4b9d9e80826b8f309f21298440c0baf492929a2.tar.gz
devel-c4b9d9e80826b8f309f21298440c0baf492929a2.tar.bz2
devel-c4b9d9e80826b8f309f21298440c0baf492929a2.tar.xz
devel-c4b9d9e80826b8f309f21298440c0baf492929a2.zip
Foutu mainteneur de pkg++, alors.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Pkgfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/Pkgfile b/gcc/Pkgfile
index 56bdb8d..ab8714a 100644
--- a/gcc/Pkgfile
+++ b/gcc/Pkgfile
@@ -4,10 +4,10 @@ maintainer="Lukc <lukc AT upyum DOT com>"
url="http://$name.gnu.org"
depends=(binutils zlib libmpc)
-if [[ -z ${CROSS_TRIPLET} ]]; then
+if [[ -z ${CTARGET} ]]; then
name=gcc
else
- name=gcc-$CROSS_TRIPLET
+ name=gcc-$CTARGET
fi
version=4.5.2
release=1
@@ -23,9 +23,9 @@ build ()
mkdir build;
cd build;
../gcc-$version/configure \
- ${CHOST:+--build=${CHOST}} \
- ${CTARGET:+--host=${CTARGET}} \
- ${CROSS_TRIPLET:+--target=${CROSS_TRIPLET}} \
+ ${CBUILD:+--build=${CBUILD}} \
+ ${CHOST:+--host=${CHOST}} \
+ ${CTARGET:+--target=${CTARGET}} \
--prefix=$prefix \
--mandir=$mandir \
--libexecdir=$libdir \
@@ -38,7 +38,7 @@ build ()
--with-x=no \
--with-system-zlib \
--with-pkgversion="Nutritive";
- if [[ -z "${CROSS_TRIPLET}" ]]; then
+ if [[ -z "${CTARGET}" ]]; then
make bootstrap;
else
make;