src: add appropriate build flags for OVS dpdk 89/2289/4
authorMaryam Tahhan <maryam.tahhan@intel.com>
Mon, 5 Oct 2015 16:44:17 +0000 (17:44 +0100)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Wed, 7 Oct 2015 14:55:08 +0000 (14:55 +0000)
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>
src/ovs/Makefile [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 32a7ab0..a67057f
@@ -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