dpdk: Avoid option conflicts between spack wrappers and Makefiles on aarch64 gcc. (#18603)
This commit is contained in:
parent
e13e2b0d54
commit
34f4049815
1 changed files with 8 additions and 0 deletions
|
@ -21,6 +21,14 @@ class Dpdk(MakefilePackage):
|
|||
|
||||
depends_on('numactl')
|
||||
|
||||
@when('%gcc target=aarch64:')
|
||||
def patch(self):
|
||||
filter_file(
|
||||
r'^MACHINE_CFLAGS',
|
||||
'#MACHINE_CFLAGS',
|
||||
join_path('mk', 'machine', 'armv8a', 'rte.vars.mk')
|
||||
)
|
||||
|
||||
def build(self, spec, prefix):
|
||||
make('defconfig')
|
||||
make()
|
||||
|
|
Loading…
Reference in a new issue