path: root/
diff options
authorLuca Boccassi <>2019-01-10 17:28:06 +0000
committerThomas Monjalon <>2019-01-28 01:49:38 +0100
commitccee5d18a470242ee86c58c9203b40ca112a49b3 (patch)
tree60e440390bc4cbb8ded200c8d2a1b422a145d31d /
parent8a9a4eaf8390df62914f3bfd4ad957b4b7a80ce4 (diff)
build: mention -march in pkg-config description
Applications need to at least match DPDK's -march option to build successfully due to some static inline functions in the public headers. This might cause problems, especially in distributions, so add a note in the pkg-config description. Fixes: a25a650be5f0 ("build: add infrastructure for meson and ninja builds") Cc: Signed-off-by: Luca Boccassi <> Reviewed-by: Gavin Hu <> Acked-by: Bruce Richardson <>
Diffstat (limited to '')
1 files changed, 3 insertions, 1 deletions
diff --git a/ b/
index fcc30ab..68429f8 100644
--- a/
+++ b/
@@ -83,7 +83,9 @@ pkg.generate(name: meson.project_name(),
libraries: dpdk_libraries,
libraries_private: dpdk_drivers + dpdk_static_libraries +
['-Wl,-Bdynamic'] + dpdk_extra_ldflags,
- description: 'The Data Plane Development Kit (DPDK)',
+ description: '''The Data Plane Development Kit (DPDK).
+Note that CFLAGS might contain an -march flag higher than typical baseline.
+This is required for a number of static inline functions in the public headers.''',
subdirs: [get_option('include_subdir_arch'), '.'],
extra_cflags: ['-include', 'rte_config.h'] + machine_args