diff --git a/dpdk.spec b/dpdk.spec index 3e61761..fc23e14 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -91,6 +91,9 @@ sed -i 's:^CONFIG_RTE_BUILD_SHARED_LIB=n$:CONFIG_RTE_BUILD_SHARED_LIB=y:g' confi %build +# In case dpdk-devel is installed, we should ignore its hints about the SDK directories +unset RTE_SDK RTE_INCLUDE RTE_TARGET + # For the release, '-Wno-error=array-bounds' is done to prevent a spurious error # generated by gcc 5.X against the 2.1 branch export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -Wno-error=array-bounds"