[Libreoffice-commits] .: solenv/gbuild

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Fri Nov 4 06:34:31 PDT 2011


 solenv/gbuild/platform/macosx.mk   |    1 +
 solenv/gbuild/platform/winmingw.mk |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 6f9d6b6c518e0c9d98877d71c525c402a12083c9
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Fri Nov 4 08:26:14 2011 -0500

    populate gb_CCVER for mac and winmg build

diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index 936b27c..055073f 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 6255974..a6618e3 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 \


More information about the Libreoffice-commits mailing list