diff --git a/lib/librte_eal/common/eal_common_cpuflags.c b/lib/librte_eal/common/eal_common_cpuflags.c index a09667563e..6a9dbaeb1f 100644 --- a/lib/librte_eal/common/eal_common_cpuflags.c +++ b/lib/librte_eal/common/eal_common_cpuflags.c @@ -22,7 +22,7 @@ #ifndef HAS_AUXV static unsigned long -getauxval(unsigned long type) +getauxval(unsigned long type __rte_unused) { errno = ENOTSUP; return 0;