We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 61926cb + f6bb7cb commit fcb1a09Copy full SHA for fcb1a09
include/linux/compiler_types.h
@@ -5,7 +5,7 @@
5
#ifndef __ASSEMBLY__
6
7
#if defined(CONFIG_DEBUG_INFO_BTF) && defined(CONFIG_PAHOLE_HAS_BTF_TAG) && \
8
- __has_attribute(btf_type_tag)
+ __has_attribute(btf_type_tag) && !defined(__BINDGEN__)
9
# define BTF_TYPE_TAG(value) __attribute__((btf_type_tag(#value)))
10
#else
11
# define BTF_TYPE_TAG(value) /* nothing */
rust/Makefile
@@ -297,7 +297,7 @@ else
297
bindgen_c_flags_lto = $(bindgen_c_flags)
298
endif
299
300
-bindgen_c_flags_final = $(bindgen_c_flags_lto)
+bindgen_c_flags_final = $(bindgen_c_flags_lto) -D__BINDGEN__
301
302
quiet_cmd_bindgen = BINDGEN $@
303
cmd_bindgen = \
0 commit comments