Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Changed the architecture check from __ppc64__ to __powerpc64__ (http://www.linux-archive.org/debian-development/309712-changed-architecture-check-__ppc64__-__powerpc64__.html)

Martin Gracik 01-15-2010 12:04 PM

Changed the architecture check from __ppc64__ to __powerpc64__
 
---
loader/init.c | 2 +-
loader/loader.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/loader/init.c b/loader/init.c
index 021f2ab..715348f 100644
--- a/loader/init.c
+++ b/loader/init.c
@@ -86,7 +86,7 @@ char * env[] = {

/* we set a nicer ld library path specifically for bash -- a full
one makes anaconda unhappy */
-#if defined(__x86_64__) || defined(__s390x__) || defined(__ppc64__)
+#if defined(__x86_64__) || defined(__s390x__) || defined(__powerpc64__)
"LD_LIBRARY_PATH=/lib64:/usr/lib64:/lib:/usr/lib",
#else
"LD_LIBRARY_PATH=/lib:/usr/lib",
diff --git a/loader/loader.h b/loader/loader.h
index 80625e1..a56d0b8 100644
--- a/loader/loader.h
+++ b/loader/loader.h
@@ -178,7 +178,7 @@ struct loaderData_s {
#endif

/* library paths */
-#if defined(__x86_64__) || defined(__s390x__) || defined(__ppc64__)
+#if defined(__x86_64__) || defined(__s390x__) || defined(__powerpc64__)
#define LIBPATH "/lib64:/usr/lib64:/usr/X11R6/lib64:/usr/kerberos/lib64:/mnt/usr/lib64:/mnt/sysimage/lib64:/mnt/sysimage/usr/lib64"
#else
#define LIBPATH "/lib:/usr/lib:/usr/X11R6/lib:/usr/kerberos/lib:/mnt/usr/lib:/mnt/sysimage/lib:/mnt/sysimage/usr/lib"
--
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 04:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.