From d8e69f9d31492faf685bd92944cc3f4e76c4b1d1 Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Mon, 5 Oct 2015 17:44:17 +0100 Subject: src: add appropriate build flags for OVS dpdk Technical Debt - Add appropriate build flags to the OVS makefiles to build OVS for performance. JIRA:VSPERF-92 Change-Id: I63d45ebe8ba41799158f97db892a94e16c7b3df5 Signed-off-by: Maryam Tahhan Reviewed-by: Billy O Mahony Reviewed-by: Brian Castelli --- src/ovs/Makefile | 1 + 1 file changed, 1 insertion(+) mode change 100755 => 100644 src/ovs/Makefile (limited to 'src/ovs') diff --git a/src/ovs/Makefile b/src/ovs/Makefile old mode 100755 new mode 100644 index 32a7ab00..a67057f5 --- a/src/ovs/Makefile +++ b/src/ovs/Makefile @@ -53,6 +53,7 @@ ifeq ($(DPDK_TARGET),) DPDK_TARGET = x86_64-native-linuxapp-gcc endif CONFIG_CMD += --with-dpdk=$(DPDK_DIR)/$(DPDK_TARGET) +CONFIG_CMD += CFLAGS="-g -O2 -Wno-cast-align" endif # Kernel vs. DPDK -- cgit 1.2.3-korg