mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
pahole: fix more __always_inline issues
This commit is contained in:
parent
66d9b0418e
commit
a30ea1256c
2 changed files with 14 additions and 1 deletions
|
@ -24,3 +24,16 @@
|
||||||
#ifndef _GNU_SOURCE
|
#ifndef _GNU_SOURCE
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
--- a/lib/bpf/src/gen_loader.c
|
||||||
|
+++ b/lib/bpf/src/gen_loader.c
|
||||||
|
@@ -1,5 +1,10 @@
|
||||||
|
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
|
||||||
|
/* Copyright (c) 2021 Facebook */
|
||||||
|
+
|
||||||
|
+#ifndef __always_inline
|
||||||
|
+#define __always_inline inline
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'pahole'
|
# Template file for 'pahole'
|
||||||
pkgname=pahole
|
pkgname=pahole
|
||||||
version=1.23
|
version=1.23
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="dwarves-${version}"
|
wrksrc="dwarves-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-D__LIB=lib"
|
configure_args="-D__LIB=lib"
|
||||||
|
|
Loading…
Add table
Reference in a new issue