diff options
author | David Tardon <dtardon@redhat.com> | 2012-09-16 12:40:58 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-09-22 08:15:43 +0200 |
commit | 7531ac91d8496d00c7b010f8ce20bfee97cc9362 (patch) | |
tree | 23dc15842b36117d98b192ef572482794f77dfb2 /solenv/gbuild | |
parent | ebe48dc2b1a3ab3df2457d4c2be7bd9cbe960c30 (diff) |
fix URE deps
Change-Id: Ifbcd2c7db1985ca8fcc74dbbe74ffb93177d6490
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/CppunitTest.mk | 2 | ||||
-rw-r--r-- | solenv/gbuild/platform/WNT_INTEL_MSC.mk | 4 | ||||
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index b78d913e6402..5de9b9320c25 100644 --- a/solenv/gbuild/CppunitTest.mk +++ b/solenv/gbuild/CppunitTest.mk @@ -156,8 +156,10 @@ endef define gb_CppunitTest_use_ure $(call gb_CppunitTest_use_rdb,$(1),ure/services) $(call gb_CppunitTest_get_target,$(1)) : URE := $(true) +$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Library_get_target,$(gb_CPPU_ENV)_uno) $(call gb_CppunitTest_get_target,$(1)) : $(call gb_Library_get_target,unobootstrapprotector) $(call gb_CppunitTest_get_target,$(1)) : $(call gb_Library_get_target,unoexceptionprotector) +$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Package_get_target,cppuhelper_unorc) endef diff --git a/solenv/gbuild/platform/WNT_INTEL_MSC.mk b/solenv/gbuild/platform/WNT_INTEL_MSC.mk index 265a1c3a0c92..180a93f2bc08 100644 --- a/solenv/gbuild/platform/WNT_INTEL_MSC.mk +++ b/solenv/gbuild/platform/WNT_INTEL_MSC.mk @@ -49,6 +49,8 @@ ifneq ($(origin CXX),default) gb_CXX := $(CXX) endif +gb_CPPU_ENV := msci + gb_COMPILERDEFS := \ -DMSC \ -D_CRT_NON_CONFORMING_SWPRINTFS \ @@ -57,7 +59,7 @@ gb_COMPILERDEFS := \ -D_MT \ -D_DLL \ -DBOOST_MEM_FN_ENABLE_CDECL \ - -DCPPU_ENV=msci \ + -DCPPU_ENV=$(gb_CPPU_ENV) \ -DM1500 \ gb_CPUDEFS := -D_X86_=1 diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 1b606a0e2ce5..e03aa88a926e 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -52,9 +52,11 @@ endif gb_CCVER := $(shell $(gb_CC) -dumpversion | $(gb_AWK) -F. -- '{ print $$1*10000+$$2*100+$$3 }') +gb_CPPU_ENV := gcc3 + gb_COMPILERDEFS := \ -D$(COM) \ - -DCPPU_ENV=gcc3 \ + -DCPPU_ENV=$(gb_CPPU_ENV) \ -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) \ ifeq ($(HAVE_GCC_BUILTIN_ATOMIC),TRUE) |