aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-03 14:46:48 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:43 -0500
commitc60d0afa65b0d037c6a6150132fbeea4ee6b557e (patch)
treed7a31b983213504c4827e54e86cd61837d4777fc
parent6ee7126f7c9cdccce9ad686b0348e3850134ec41 (diff)
Move ia64 QEMU_CFLAGS target to configure
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
-rw-r--r--Makefile.target4
-rwxr-xr-xconfigure3
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"