summaryrefslogtreecommitdiffstats
path: root/src/ovs/Makefile
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2015-10-05 17:44:17 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-10-07 14:55:08 +0000
commitd8e69f9d31492faf685bd92944cc3f4e76c4b1d1 (patch)
tree4261e6ca9b64f85af797ee8228cb1372bf7e6feb /src/ovs/Makefile
parent89e23da8e473387b2e6cb37a2b882d2d3c68655c (diff)
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 <maryam.tahhan@intel.com> Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com> Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Diffstat (limited to 'src/ovs/Makefile')
-rw-r--r--[-rwxr-xr-x]src/ovs/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ovs/Makefile b/src/ovs/Makefile
index 32a7ab00..a67057f5 100755..100644
--- 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