libhugetlbfs/libhugetlbfs.s390.patch

28 lines
445 B
Diff

---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--- a/Makefile
+++ b/Makefile
@@ -65,8 +65,11 @@ CFLAGS += -DNO_ELFLINK
else
ifeq ($(ARCH),s390x)
CC64 = gcc -m64
-CC32 = gcc -m31
LIB64 = lib64
+CFLAGS += -DNO_ELFLINK
+else
+ifeq ($(ARCH),s390)
+CC32 = gcc -m31
LIB32 = lib
CFLAGS += -DNO_ELFLINK
else
@@ -74,6 +77,7 @@ $(error "Unrecognized architecture ($(AR
endif
endif
endif
+endif
endif
endif
endif