aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-03 14:46:47 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:43 -0500
commit6ee7126f7c9cdccce9ad686b0348e3850134ec41 (patch)
treea44a20c28e68c177bef13d1e2a4cf208d3227f8b /configure
parent9b8e111fb134adb89e5f90edbdd11b5b08124aa1 (diff)
Move alpha CFLAGS target to configure
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index 1c0a317ece..e098068b99 100755
--- a/configure
+++ b/configure
@@ -2072,8 +2072,15 @@ fi
cflags=""
ldflags=""
-linker_script="-Wl,-T../config-host.ld -Wl,-T,\$(SRC_PATH)/\$(ARCH).ld"
+case "$ARCH" in
+alpha)
+ # Ensure there's only a single GP
+ cflags="-msmall-data $cflags"
+;;
+esac
+
+linker_script="-Wl,-T../config-host.ld -Wl,-T,\$(SRC_PATH)/\$(ARCH).ld"
if test "$target_linux_user" = "yes" -o "$target_bsd_user" = "yes" ; then
case "$ARCH" in
i386)