lkml.org 
[lkml]   [2005]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2.6.14-rc1] ppc: prevent GCC 4 from generating AltiVec instructions in kernel
Date
On Tue, 13 Sep 2005 23:12:06 -0700, 
Lee Nicks <allinux@gmail.com> wrote:
>Depending on how GCC is built, GCC 4 may generate altivec instructions
>...
>+# No AltiVec instruction when building kernel
>+ifeq ($(call cc-option-yn, -mno-altivec), y)
>+CFLAGS += -mno-altivec
>+endif

Use the standard format, one line instead of three.

cflags-y += $(call cc-option, -mno-altivec)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-14 08:26    [W:0.027 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site