]> git.proxmox.com Git - pve-kernel-2.6.32.git/commitdiff
revert previos commit, because it does not work
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 24 Apr 2014 07:46:40 +0000 (09:46 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 24 Apr 2014 07:46:40 +0000 (09:46 +0200)
Seems gcc is hardcoded inside the kernel makefile, so we have to use

 ln -s /usr/bin/gcc-4.4 /usr/bin/gcc

Makefile

index b8daa57ac7295159cab05859f2862789c6260edd..b9816a0b7d65727cecb86e8051dc937237f8ca66 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,5 @@
 RELEASE=3.2
 
-export CC=gcc-4.4
-
 KERNEL_VER=2.6.32
 PKGREL=126
 # also include firmware of previous versrion into 
@@ -81,7 +79,7 @@ ${PVE_DEB} pve: proxmox-ve/control proxmox-ve/postinst
        dpkg-deb --build proxmox-ve/data ${PVE_DEB}
 
 check_gcc: 
-       ${CC} --version|grep "4\.4\.7" || false
+       gcc --version|grep "4\.4\.7" || false
 
 ${DST_DEB}: data control.in postinst.in
        mkdir -p data/DEBIAN