summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-09 20:06:08 +0000
committerMatt Wilson <msw@redhat.com>1999-09-09 20:06:08 +0000
commite94e0c7acd3285a2aaf1f9ffc6d84d31c3b32ab4 (patch)
tree39fdce9a167da71e4c61bf5922f2369ee93ac8f9
parentdf77c6a7e33ea536a10122260b0cc5e99ca431ea (diff)
downloadanaconda-e94e0c7acd3285a2aaf1f9ffc6d84d31c3b32ab4.tar.gz
anaconda-e94e0c7acd3285a2aaf1f9ffc6d84d31c3b32ab4.tar.xz
anaconda-e94e0c7acd3285a2aaf1f9ffc6d84d31c3b32ab4.zip
hack for alpha/sparc (for now)
-rw-r--r--loader/Makefile2
-rw-r--r--loader/loader.c7
2 files changed, 7 insertions, 2 deletions
diff --git a/loader/Makefile b/loader/Makefile
index 5a1e16204..db70185fb 100644
--- a/loader/Makefile
+++ b/loader/Makefile
@@ -37,7 +37,7 @@ LDFLAGS = -nostdlib /usr/lib/crt1.o
STATIC=-static
else
CFLAGS+=-DUSE_MINILIBC=0
-STATIC=
+STATIC=-static
endif
VERSION = 6.0
diff --git a/loader/loader.c b/loader/loader.c
index 9bc3154b9..7bfec22fd 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -977,7 +977,12 @@ static char * doMountImage(char * location, struct knownDevices * kd,
free(class);
}
-#if !defined(__i386__) || defined(INCLUDE_PCMCIA)
+#if !defined(__i386__)
+ for (i = 0; i < numMethods; i++) {
+ installNames[numValidMethods] = installMethods[i].name;
+ validMethods[numValidMethods++] = i;
+ }
+#elif defined(INCLUDE_PCMCIA)
for (i = 0; i < numMethods; i++) {
int j;