From: Debian Science Team Date: Sat, 24 Jan 2015 22:06:27 +0000 (+0000) Subject: ppc64el-new-archdef-name X-Git-Tag: archive/raspbian/3.10.3-3+rpi1~2^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=95d99b969cc52525a291793b44046411b7f6ec7a;p=atlas.git ppc64el-new-archdef-name Gbp-Pq: Name ppc64el-new-archdef-name.patch --- diff --git a/CONFIG/src/SpewMakeInc.c b/CONFIG/src/SpewMakeInc.c index 2a4c2c7..af563cd 100644 --- a/CONFIG/src/SpewMakeInc.c +++ b/CONFIG/src/SpewMakeInc.c @@ -550,6 +550,10 @@ int main(int nargs, char **args) fprintf(fpout, "# -------------------------------------------------\n"); fprintf(fpout, " ARCH = %s", machnam[mach]); fprintf(fpout, "%d", ptrbits); + /* for ppc64le archi add 'LE' characters */ + #if defined(__powerpc64__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) + fprintf(fpout, "%s", "LE"); + #endif if (ISAX) fprintf(fpout, "%s", ISAXNAM[ISAX]); if (!USEIEEE)