mcst-linux-kernel/patches-2024.06.26/libhugetlbfs-2.18/0002-libhugetlbfs-2.18-fix-...

27 lines
559 B
Diff

From 4d4c0657f614075a9838bc15b5413d6681725ff2 Mon Sep 17 00:00:00 2001
Date: Tue, 9 Feb 2016 22:09:11 +0300
Subject: [PATCH] libhugetlbfs-2.18, fix bug 82015: enable 32-bit library for
sparc64 (sparcv8+)
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index 87ff164..42346bb 100644
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,9 @@ TMPLIB64 = lib64
CFLAGS += -DNO_ELFLINK
else
ifeq ($(ARCH),sparc64)
+CC32 = $(CC) -m32
CC64 = $(CC) -m64
+TMPLIB32 = lib32
TMPLIB64 = lib64
CFLAGS += -DNO_ELFLINK
else
--
2.16.4