Changeset 647 for branches


Ignore:
Timestamp:
Jan 6, 2015, 5:19:27 AM (5 years ago)
Author:
ehem
Message:

Set CC in build.sh so dpkg-architecture doesn't complain when it gets
invoked by make-kpkg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/debian/linux-image/build.sh

    r646 r647  
    4040archfull=`dpkg-architecture "-a${arch}" -qDEB_HOST_MULTIARCH`
    4141
    42 if ! which ${archfull}-gcc > /dev/null
     42CC=${archfull}-gcc
     43export CC
     44
     45if ! which ${CC} > /dev/null
    4346then
    4447        echo $0\: GCC for architecture \"${arch}\" not found, please install package c-compiler\:${arch} or c-compiler-${archfull}
Note: See TracChangeset for help on using the changeset viewer.