Skip to content

Commit

Permalink
Disable RTE RDSEED option by default
Browse files Browse the repository at this point in the history
  • Loading branch information
benixon committed Feb 15, 2023
1 parent ada9934 commit 757215e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions target/oss/patches/dpdk/update_config.diff
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
diff --git a/config/x86/meson.build b/config/x86/meson.build
index adc857b..d2ed053 100644
--- a/config/x86/meson.build
+++ b/config/x86/meson.build
@@ -28,7 +28,7 @@ endforeach

optional_flags = ['AES', 'PCLMUL',
'AVX', 'AVX2', 'AVX512F',
- 'RDRND', 'RDSEED']
+ 'RDRND']
foreach f:optional_flags
if cc.get_define('__@0@__'.format(f), args: machine_args) == '1'
if f == 'PCLMUL' # special case flags with different defines
diff --git a/meson_options.txt b/meson_options.txt
index 9bf18ab..45720ab 100644
--- a/meson_options.txt
Expand Down

0 comments on commit 757215e

Please sign in to comment.