summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2010-12-20 16:47:45 +0100
committerHans-Joachim Lankenau <hjs@openoffice.org>2010-12-20 16:47:45 +0100
commitddb3690a12a6adfbce0c7decc024e857b17b0fd6 (patch)
tree66119e917bdafd02e6d3cbc0880f2ff2d107e801
parent219377812da3396a2846c375eb5c32f6b5162a23 (diff)
#i10000# detect x64 setsolar env.
-rwxr-xr-xsolenv/gbuild/platform/linux.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/linux.mk b/solenv/gbuild/platform/linux.mk
index 8576aaa54980..f8505ccd39fd 100755
--- a/solenv/gbuild/platform/linux.mk
+++ b/solenv/gbuild/platform/linux.mk
@@ -35,6 +35,11 @@ gb_CXX := g++
gb_GCCP := gcc
gb_AWK := awk
+# normalize setsolar and configure env.
+ifeq ($(CPU),X)
+CPUNAME := X86_64
+endif
+
# use CC/CXX if they are nondefaults
ifneq ($(origin CC),default)
gb_CC := $(CC)