mirror of
https://github.com/openvswitch/ovs
synced 2025-09-03 15:55:19 +00:00
acinclude.m4: Fix dpdk build if -mssse3 not supported.
On arm/arm64: gcc: error: unrecognized command line option '-mssse3' Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -216,7 +216,8 @@ AC_DEFUN([OVS_CHECK_DPDK], [
|
|||||||
CFLAGS="$ovs_save_CFLAGS"
|
CFLAGS="$ovs_save_CFLAGS"
|
||||||
LDFLAGS="$ovs_save_LDFLAGS"
|
LDFLAGS="$ovs_save_LDFLAGS"
|
||||||
OVS_LDFLAGS="$OVS_LDFLAGS -L$DPDK_LIB_DIR"
|
OVS_LDFLAGS="$OVS_LDFLAGS -L$DPDK_LIB_DIR"
|
||||||
OVS_CFLAGS="$OVS_CFLAGS -I$DPDK_INCLUDE -mssse3"
|
OVS_CFLAGS="$OVS_CFLAGS -I$DPDK_INCLUDE"
|
||||||
|
OVS_ENABLE_OPTION([-mssse3])
|
||||||
|
|
||||||
# DPDK pmd drivers are not linked unless --whole-archive is used.
|
# DPDK pmd drivers are not linked unless --whole-archive is used.
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user