Messages in this thread | | | From | Keith Owens <> | Subject | Re: [PATCH 2.6.14-rc1] ppc: prevent GCC 4 from generating AltiVec instructions in kernel | Date | Wed, 14 Sep 2005 16:24:12 +1000 |
| |
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/
| |