From 6f9d6b6c518e0c9d98877d71c525c402a12083c9 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Fri, 4 Nov 2011 08:26:14 -0500 Subject: populate gb_CCVER for mac and winmg build --- solenv/gbuild/platform/macosx.mk | 1 + solenv/gbuild/platform/winmingw.mk | 1 + 2 files changed, 2 insertions(+) (limited to 'solenv/gbuild') diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk index 936b27ca5d30..055073f3aa4b 100644 --- a/solenv/gbuild/platform/macosx.mk +++ b/solenv/gbuild/platform/macosx.mk @@ -48,6 +48,7 @@ endif ifneq ($(origin CXX),default) gb_CXX := $(CXX) endif +gb_CCVER := $(shell $(gb_CC) -dumpversion | $(gb_AWK) -F. -- '{ print $$1*10000+$$2*100+$$3 }') gb_OSDEFS := \ -D$(OS) \ diff --git a/solenv/gbuild/platform/winmingw.mk b/solenv/gbuild/platform/winmingw.mk index 62559746c86e..a6618e3ec838 100644 --- a/solenv/gbuild/platform/winmingw.mk +++ b/solenv/gbuild/platform/winmingw.mk @@ -39,6 +39,7 @@ gb_AWK := awk gb_CLASSPATHSEP := : gb_YACC := bison gb_RC := $(WINDRES) +gb_CCVER := $(shell $(gb_CC) -dumpversion | $(gb_AWK) -F. -- '{ print $$1*10000+$$2*100+$$3 }') gb_OSDEFS := \ -DWINVER=0x0500 \ -- cgit