[pve-devel] [PATCH] relax gcc check. honor CC environment

mir at datanom.net mir at datanom.net
Wed Jul 9 02:29:08 CEST 2014


From: Michael Rasmussen <mir at datanom.net>

Signed-off-by: Michael Rasmussen <mir at datanom.net>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 3e2c1bc..f359e05 100644
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,7 @@ PVE_DEB=${PVEPKG}_${RELEASE}-${PKGREL}_all.deb
 all: check_gcc ${DST_DEB} ${FW_DEB} ${HDR_DEB}
 
 check_gcc: 
-	gcc --version|grep "4\.7\.2" || false
+	$(CC) --version|grep "4\.7" || false
 
 ${DST_DEB}: data control.in postinst.in copyright changelog.Debian
 	mkdir -p data/DEBIAN
-- 
2.0.1


----

This mail was virus scanned and spam checked before delivery.
This mail is also DKIM signed. See header dkim-signature.




More information about the pve-devel mailing list