summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-09-29 17:47:33 +0200
committerDavid Tardon <dtardon@redhat.com>2012-09-29 17:47:33 +0200
commitdec68c6684298cbcb793651f1221f842efd794e3 (patch)
tree88ac6f0b470ca999b57bb0402fbbcc1b4fd9967c /solenv
parent093fe6c5ebae2b8b63690d11ba5f3843a374ff4c (diff)
the build tools need to know executable extension
Change-Id: I44479648dd75142864503650494fb2e3f95fe719
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/gbuild.mk24
1 files changed, 12 insertions, 12 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
index 74b0368ec209..4afc09530edf 100644
--- a/solenv/gbuild/gbuild.mk
+++ b/solenv/gbuild/gbuild.mk
@@ -171,6 +171,18 @@ include $(SRCDIR)/Repository.mk
include $(SRCDIR)/RepositoryExternal.mk
$(eval $(call gb_Helper_collect_libtargets))
+gb_Library_DLLPOSTFIX := lo
+
+# Include platform/cpu/compiler specific config/definitions
+include $(GBUILDDIR)/platform/$(OS)_$(CPUNAME)_$(COM).mk
+
+ifeq ($(CROSS_COMPILING),YES)
+# We can safely Assume all cross-compilation is from Unix systems.
+gb_Executable_EXT_for_build :=
+else
+gb_Executable_EXT_for_build := $(gb_Executable_EXT)
+endif
+
# Set up build tools that can be either internal or system. It is
# necessary to do it before we start including gbuild class makefiles,
# so the classes can add dependencies on them.
@@ -217,18 +229,6 @@ else
gb_UCPPTARGET := $(call gb_Executable_get_target_for_build,ucpp)
endif
-gb_Library_DLLPOSTFIX := lo
-
-# Include platform/cpu/compiler specific config/definitions
-include $(GBUILDDIR)/platform/$(OS)_$(CPUNAME)_$(COM).mk
-
-ifeq ($(CROSS_COMPILING),YES)
-# We can safely Assume all cross-compilation is from Unix systems.
-gb_Executable_EXT_for_build :=
-else
-gb_Executable_EXT_for_build := $(gb_Executable_EXT)
-endif
-
include $(GBUILDDIR)/Tempfile.mk
include $(SRCDIR)/RepositoryFixes.mk