travis: Fix build with --enable-shared and DPDK 2.1.
authorDaniele Di Proietto <diproiettod@vmware.com>
Wed, 9 Sep 2015 16:40:40 +0000 (17:40 +0100)
committerDaniele Di Proietto <diproiettod@vmware.com>
Wed, 9 Sep 2015 17:07:13 +0000 (18:07 +0100)
commit5d1877e0343a6ad8bf704a4ed02d168dc0b3780b
tree90fc1cfe325e6c42ff2e7459cb36be059efeb033
parent4f7b100c2b52f39eb686888c181ed0e57a574e23
travis: Fix build with --enable-shared and DPDK 2.1.

When building OVS with --enable-shared, -fPIC should be used in DPDK
CFLAGS.  We used to add a custom option for this (CONFIG_RTE_BUILD_FPIC)
to the DPDK configuration, right after CONFIG_RTE_LIBNAME.

Since CONFIG_RTE_LIBNAME has been removed, it seems simpler to add our
custom option at the end of the file.

Furthermore, since vhost support is enabled by default in DPDK 2.1 and
vhost-user is OVS primary target, there's no need to customize the vhost
related option anymore.

Tested-at: https://travis-ci.org/ddiproietto/ovs/builds/79451461

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ben Pfaff <blp@nicira.com>
.travis/build.sh