[pve-devel] [PATCH] Test whether CC is defined and use this otherwise use default
Dietmar Maurer
dietmar at proxmox.com
Mon Jul 14 13:05:57 CEST 2014
Your patch does not apply to current version in git. So I simply extracted your changes and applied it myself - hope that is OK for you?
see https://git.proxmox.com/?p=pve-kernel-2.6.32.git;a=commitdiff;h=fb3948c5044b6af685050325630f3540ab24b57c
> diff --git a/Makefile b/Makefile
> index 3e2c1bc..823d842 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -70,7 +70,11 @@ PVE_DEB=${PVEPKG}_${RELEASE}-${PKGREL}_all.deb
> all: check_gcc ${DST_DEB} ${FW_DEB} ${HDR_DEB}
>
> check_gcc:
> +ifeq ($(CC), cc)
> gcc --version|grep "4\.7\.2" || false
> +else
> + $(CC) --version|grep "4\.7" || false
> +endif
>
> ${DST_DEB}: data control.in postinst.in copyright changelog.Debian
> mkdir -p data/DEBIAN
> --
More information about the pve-devel
mailing list