summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/numactl/numactl/0001-configure-Check-for-largefile-support.patch
blob: 152eb2807b374921903a2fa258141bdeff29f756 (plain)
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
From 61f910f5d12d6f6a66223b5af6d74e30ace3a2e1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 15 Dec 2022 12:10:37 -0800
Subject: [PATCH] configure: Check for largefile support

This helps in using 64bit versions of off_t related functions

Upstream-Status: Backport [https://github.com/numactl/numactl/pull/159]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 8510fc5..d74bc6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,6 +14,9 @@ LT_INIT
 
 AC_PROG_CC
 
+# Check for enabling LFS support
+AC_SYS_LARGEFILE
+
 # Override CFLAGS so that we can specify custom CFLAGS for numademo.
 AX_AM_OVERRIDE_VAR([CFLAGS])