Re: [PATCH 2.6.14-rc1] ppc: prevent GCC 4 from generating AltiVec instructions in kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 13 Sep 2005 23:12:06 -0700, 
Lee Nicks <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux