Package: atlas / 3.10.3-1~bpo8+1

18_alpha.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- a/CONFIG/include/atlconf.h
+++ b/CONFIG/include/atlconf.h
@@ -90,6 +90,13 @@ enum MACHTYPE {MACHOther, PPCG4, PPCG5,
 #define MachIsHPPA(mach_) \
    ( 0 )
 #endif
+#ifdef __alpha__
+#define MachIsALPHA(mach_) \
+  ( __alpha__ )
+#else
+#define MachIsALPHA(mach_) \
+  ( 0 )
+#endif
 
 static char *f2c_namestr[5] = {"UNKNOWN","Add_", "Add__", "NoChange", "UpCase"};
 static char *f2c_intstr[5] =
--- a/CONFIG/src/SpewMakeInc.c
+++ b/CONFIG/src/SpewMakeInc.c
@@ -403,6 +403,8 @@ char *GetPtrbitsFlag(enum OSTYPE OS, enu
       return(sp);
    if (MachIsHPPA(arch))
      return(sp);
+   if (MachIsALPHA(arch))
+     return(sp);
    if (MachIsMIPS(arch))
       return((ptrbits == 64) ? "-mabi=64" : "-mabi=n32");
    if (MachIsS390(arch))
--- a/CONFIG/src/probe_comp.c
+++ b/CONFIG/src/probe_comp.c
@@ -597,6 +597,8 @@ char *GetPtrbitsFlag(enum OSTYPE OS, enu
       return(sp);
    if (MachIsHPPA(arch))
      return(sp);
+   if (MachIsALPHA(arch))
+     return(sp);
    if (MachIsMIPS(arch))
       return((ptrbits == 64) ? "-mabi=64" : "-mabi=n32");
    if (MachIsS390(arch))