aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"