2009-11-16 17:17:15 +01:00
|
|
|
Do not build 31 bit for S390x, allow to build on S390
|
|
|
|
|
2008-08-28 12:39:19 +02:00
|
|
|
---
|
|
|
|
Makefile | 6 +++++-
|
|
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
|
2009-11-16 17:17:15 +01:00
|
|
|
Index: libhugetlbfs-2.5/Makefile
|
|
|
|
===================================================================
|
|
|
|
--- libhugetlbfs-2.5.orig/Makefile
|
|
|
|
+++ libhugetlbfs-2.5/Makefile
|
|
|
|
@@ -74,8 +74,11 @@ CFLAGS += -DNO_ELFLINK
|
2008-08-28 12:39:19 +02:00
|
|
|
else
|
|
|
|
ifeq ($(ARCH),s390x)
|
|
|
|
CC64 = gcc -m64
|
|
|
|
-CC32 = gcc -m31
|
2009-11-16 17:17:15 +01:00
|
|
|
TMPLIB64 = lib64
|
2008-08-28 12:39:19 +02:00
|
|
|
+CFLAGS += -DNO_ELFLINK
|
|
|
|
+else
|
|
|
|
+ifeq ($(ARCH),s390)
|
|
|
|
+CC32 = gcc -m31
|
2009-11-16 17:17:15 +01:00
|
|
|
TMPLIB32 = lib
|
2008-08-28 12:39:19 +02:00
|
|
|
CFLAGS += -DNO_ELFLINK
|
|
|
|
else
|
2009-11-16 17:17:15 +01:00
|
|
|
@@ -83,6 +86,7 @@ $(error "Unrecognized architecture ($(AR
|
2008-08-28 12:39:19 +02:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
+endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|