Commit 7223ee5c authored by Tony Luck's avatar Tony Luck Committed by Tony Luck

[IA64] Allow -mtune=merced for gcc 3.4

Patch submitted by H. J. Lu

  Gcc 3.4.2 fixed ia64 -mtune=merced regressions on Linux 2.6 kernel:

  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16278

  I have been using this patch for several months now.
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent b9588f65
...@@ -42,8 +42,7 @@ $(error Sorry, your compiler is too old. GCC v2.96 is known to generate bad cod ...@@ -42,8 +42,7 @@ $(error Sorry, your compiler is too old. GCC v2.96 is known to generate bad cod
endif endif
ifeq ($(GCC_VERSION),0304) ifeq ($(GCC_VERSION),0304)
# Workaround Itanium 1 bugs in gcc 3.4. cflags-$(CONFIG_ITANIUM) += -mtune=merced
# cflags-$(CONFIG_ITANIUM) += -mtune=merced
cflags-$(CONFIG_MCKINLEY) += -mtune=mckinley cflags-$(CONFIG_MCKINLEY) += -mtune=mckinley
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment