From 492d4235af6d899f20eb21f6facaa785dbe86cdc Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 20 Sep 2010 22:11:05 +0200 Subject: [PATCH] gcc: changed to to explicitely inject '-mtune=generic' while building a generic x86-64 target without CPU specific optimzation --- base/gcc/arch/options.x86-64.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base/gcc/arch/options.x86-64.in b/base/gcc/arch/options.x86-64.in index 25be99a79..8aa4c9b45 100644 --- a/base/gcc/arch/options.x86-64.in +++ b/base/gcc/arch/options.x86-64.in @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../gcc/arch/options.x86-64.in -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -14,7 +14,8 @@ # --- SDE-COPYRIGHT-NOTE-END --- case "$SDECFG_X8664_OPT" in - generic) ;; + generic) + var_append GCC_WRAPPER_INSERT " " "-mtune=generic" ;; em64t) var_append GCC_WRAPPER_INSERT " " "-march=nocona" ;; *)