From c60d0afa65b0d037c6a6150132fbeea4ee6b557e Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 3 Aug 2009 14:46:48 +0200 Subject: [PATCH] Move ia64 QEMU_CFLAGS target to configure Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori Message-Id: --- Makefile.target | 4 ---- configure | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.target b/Makefile.target index eaf35c57d1..d2f1d860ad 100644 --- a/Makefile.target +++ b/Makefile.target @@ -23,10 +23,6 @@ ifeq ($(subst ppc64,ppc,$(ARCH))$(TARGET_BASE_ARCH),ppcppc) translate.o: QEMU_CFLAGS := $(QEMU_CFLAGS) $(call cc-option, $(QEMU_CFLAGS), -fno-unit-at-a-time,) endif -ifeq ($(ARCH),ia64) -QEMU_CFLAGS+=-mno-sdata -endif - LIBS+=-lm ifdef CONFIG_SOLARIS ifdef CONFIG_NEEDS_LIBSUNMATH diff --git a/configure b/configure index e098068b99..11b83db4f0 100755 --- a/configure +++ b/configure @@ -2078,6 +2078,9 @@ alpha) # Ensure there's only a single GP cflags="-msmall-data $cflags" ;; +ia64) + cflags="-mno-sdata $cflags" +;; esac linker_script="-Wl,-T../config-host.ld -Wl,-T,\$(SRC_PATH)/\$(ARCH).ld"