aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Chupin <pavel.v.chupin@intel.com>2013-05-22 11:31:26 +0400
committerPavel Chupin <pavel.v.chupin@intel.com>2013-05-22 11:31:26 +0400
commit930cbea75a17bac5f0a130de71a49ffe8cae896e (patch)
tree4f0f901efd9166518b5b8eb27a07d2a4a1db13d3
parent97721c6e82f4e5096a5c2814b27255b3dbb51daa (diff)
downloadbuild-930cbea75a17bac5f0a130de71a49ffe8cae896e.tar.gz
Add x86_64 target configure defaults
It includes: -march=atom/-mtune=atom to focus on Atom instructions/optimizations; -fpmath=sse to generate sse math instructions instead of i387 -m32/-m64/-mx32 support to be able to generate 32/64/x32 code with single toolchain. Change-Id: I1a650b4cf572322baa5648a97e1731922571a132 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index fdb4725..46c090d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -483,6 +483,11 @@ ifeq ($(target_cpu),i686)
GCC_CONFIG_ARGS += --with-arch=i686 --with-tune=atom --with-fpmath=sse
endif
+ifeq ($(target_cpu),x86_64)
+GCC_CONFIG_ARGS += --with-arch=atom --with-tune=atom --with-fpmath=sse \
+ --with-multilib-list=m32,m64,mx32
+endif
+
# ARM specific options.
ifeq ($(target_cpu),arm)
GCC_CONFIG_ARGS += --with-float=soft --with-fpu=vfp --with-arch=armv5te \