diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-11-04 08:26:14 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-11-04 08:27:22 -0500 |
commit | 6f9d6b6c518e0c9d98877d71c525c402a12083c9 (patch) | |
tree | 86ab670f3523aee254163878d5d6786b5831833b /solenv/gbuild | |
parent | 3976f78ac001ad3d14d3fdcd6c53e967ea656037 (diff) |
populate gb_CCVER for mac and winmg build
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/platform/macosx.mk | 1 | ||||
-rw-r--r-- | solenv/gbuild/platform/winmingw.mk | 1 |
2 files changed, 2 insertions, 0 deletions
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 \ |