1 Author: Luca Boccassi <bluca@debian.org>
2 Description: mention -march in pkg-config description
3 Applications need to at least match DPDK's -march option to build
4 successfully due to some static inline functions in the public headers.
5 This might cause problems, especially in distributions, so add a note
6 in the pkg-config description.
7 Origin: https://patches.dpdk.org/patch/49629/
10 @@ -83,7 +83,9 @@ pkg.generate(name: meson.project_name(),
11 libraries: dpdk_libraries,
12 libraries_private: dpdk_drivers + dpdk_libraries +
13 ['-Wl,-Bdynamic'] + dpdk_extra_ldflags,
14 - description: 'The Data Plane Development Kit (DPDK)',
15 + description: '''The Data Plane Development Kit (DPDK).
16 +Note that CFLAGS might contain an -march flag higher than typical baseline.
17 +This is required for a number of static inline functions in the public headers.''',
18 subdirs: [get_option('include_subdir_arch'), '.'],
19 extra_cflags: ['-include', 'rte_config.h'] + machine_args