f640de44fa
Adjust CFLAGS to be able to compile on uclibc-ng < 1.0.42. Remove patch from this release, backport 3 patches fixing build from upstream. Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
773 B
Diff
30 lines
773 B
Diff
From d5fe96ab70928508f072a47449e9b641e46de323 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Wed, 10 Aug 2022 22:34:40 -0700
|
|
Subject: [PATCH] configure: Define _GNU_SOURCE when checking for setns
|
|
|
|
glibc defines this function only as gnu extention
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
|
|
[ upstream status: d5fe96ab70928508f072a47449e9b641e46de323 ]
|
|
---
|
|
configure | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/configure b/configure
|
|
index 440facb7..c02753bb 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -191,6 +191,7 @@ check_ipt_lib_dir()
|
|
check_setns()
|
|
{
|
|
cat >$TMPDIR/setnstest.c <<EOF
|
|
+#define _GNU_SOURCE
|
|
#include <sched.h>
|
|
int main(int argc, char **argv)
|
|
{
|
|
--
|
|
2.37.2
|
|
|