Blame SOURCES/0001-eal-fix-build-with-glibc-2.16.patch

a6040a
From 8ddd6a90ea3cbd3724191984039c71de8b58d41b Mon Sep 17 00:00:00 2001
a6040a
From: Thomas Monjalon <thomas@monjalon.net>
a6040a
Date: Fri, 27 Apr 2018 02:54:00 +0200
a6040a
Subject: [PATCH 1/2] eal: fix build with glibc < 2.16
a6040a
a6040a
The fake getauxval function does not use its parameter.
a6040a
So the compiler raised this error:
a6040a
	lib/librte_eal/common/eal_common_cpuflags.c:25:25: error:
a6040a
	unused parameter 'type'
a6040a
a6040a
Fixes: 2ed9bf330709 ("eal: abstract away the auxiliary vector")
a6040a
a6040a
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
a6040a
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
a6040a
---
a6040a
 lib/librte_eal/common/eal_common_cpuflags.c | 2 +-
a6040a
 1 file changed, 1 insertion(+), 1 deletion(-)
a6040a
a6040a
diff --git a/lib/librte_eal/common/eal_common_cpuflags.c b/lib/librte_eal/common/eal_common_cpuflags.c
a6040a
index a09667563..6a9dbaeb1 100644
a6040a
--- a/lib/librte_eal/common/eal_common_cpuflags.c
a6040a
+++ b/lib/librte_eal/common/eal_common_cpuflags.c
a6040a
@@ -22,7 +22,7 @@
a6040a
 
a6040a
 #ifndef HAS_AUXV
a6040a
 static unsigned long
a6040a
-getauxval(unsigned long type)
a6040a
+getauxval(unsigned long type __rte_unused)
a6040a
 {
a6040a
 	errno = ENOTSUP;
a6040a
 	return 0;
a6040a
-- 
a6040a
2.17.0
a6040a